We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bd8484 commit f57713bCopy full SHA for f57713b
src/test/ui/lint/unused/unused-async.stderr
@@ -4,12 +4,12 @@ error: unused implementer of `Future` that must be used
4
LL | foo();
5
| ^^^^^
6
|
7
+ = note: futures do nothing unless you `.await` or poll them
8
note: the lint level is defined here
9
--> $DIR/unused-async.rs:2:9
10
11
LL | #![deny(unused_must_use)]
12
| ^^^^^^^^^^^^^^^
- = note: futures do nothing unless you `.await` or poll them
13
14
error: unused return value of `foo` that must be used
15
--> $DIR/unused-async.rs:31:5
src/test/ui/lint/unused/unused-supertrait.stderr
@@ -2,7 +2,7 @@ error: unused implementer of `Iterator` that must be used
2
--> $DIR/unused-supertrait.rs:9:5
3
LL | it();
- | ^^^^^
+ | ^^^^
= note: iterators are lazy and do nothing unless consumed
0 commit comments