Update compiler/rustc_passes/src/check_attr.rs
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
This commit is contained in:
parent
958de5a938
commit
83ce771c0f
2 changed files with 3 additions and 3 deletions
|
@ -1062,7 +1062,7 @@ impl CheckAttrVisitor<'tcx> {
|
|||
lint.build(
|
||||
"`must_use` attribute on `async` functions \
|
||||
applies to the anonymous `Future` returned by the \
|
||||
function, not the value within.",
|
||||
function, not the value within",
|
||||
)
|
||||
.span_label(
|
||||
*span,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue