File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
compiler/rustc_passes/src Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1062,7 +1062,7 @@ impl CheckAttrVisitor<'tcx> {
10621062 lint. build (
10631063 "`must_use` attribute on `async` functions \
10641064 applies to the anonymous `Future` returned by the \
1065- function, not the value within. ",
1065+ function, not the value within",
10661066 )
10671067 . span_label (
10681068 * 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
22 --> $DIR/unused-async.rs:5:1
33 |
44LL | #[must_use]
@@ -11,7 +11,7 @@ LL | | }
1111 |
1212 = note: `#[warn(unused_attributes)]` on by default
1313
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
1515 --> $DIR/unused-async.rs:15:5
1616 |
1717LL | #[must_use]
You can’t perform that action at this time.
0 commit comments