File tree 2 files changed +3
-3
lines changed
compiler/rustc_passes/src
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1062,7 +1062,7 @@ impl CheckAttrVisitor<'tcx> {
1062
1062
lint. build (
1063
1063
"`must_use` attribute on `async` functions \
1064
1064
applies to the anonymous `Future` returned by the \
1065
- function, not the value within. ",
1065
+ function, not the value within",
1066
1066
)
1067
1067
. span_label (
1068
1068
* span,
Original file line number Diff line number Diff line change 1
- warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within.
1
+ warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within
2
2
--> $DIR/unused-async.rs:5:1
3
3
|
4
4
LL | #[must_use]
@@ -11,7 +11,7 @@ LL | | }
11
11
|
12
12
= note: `#[warn(unused_attributes)]` on by default
13
13
14
- warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within.
14
+ warning: `must_use` attribute on `async` functions applies to the anonymous `Future` returned by the function, not the value within
15
15
--> $DIR/unused-async.rs:15:5
16
16
|
17
17
LL | #[must_use]
You can’t perform that action at this time.
0 commit comments