File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ error: unused implementer of `Future` that must be used
44LL | foo();
55 | ^^^^^
66 |
7+ = note: futures do nothing unless you `.await` or poll them
78note: the lint level is defined here
89 --> $DIR/unused-async.rs:2:9
910 |
1011LL | #![deny(unused_must_use)]
1112 | ^^^^^^^^^^^^^^^
12- = note: futures do nothing unless you `.await` or poll them
1313
1414error: unused return value of `foo` that must be used
1515 --> $DIR/unused-async.rs:31:5
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ error: unused implementer of `Iterator` that must be used
22 --> $DIR/unused-supertrait.rs:9:5
33 |
44LL | it();
5- | ^^^^^
5+ | ^^^^
66 |
77 = note: iterators are lazy and do nothing unless consumed
88note: the lint level is defined here
You can’t perform that action at this time.
0 commit comments