File tree 2 files changed +2
-2
lines changed
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
4
4
LL | foo();
5
5
| ^^^^^
6
6
|
7
+ = note: futures do nothing unless you `.await` or poll them
7
8
note: the lint level is defined here
8
9
--> $DIR/unused-async.rs:2:9
9
10
|
10
11
LL | #![deny(unused_must_use)]
11
12
| ^^^^^^^^^^^^^^^
12
- = note: futures do nothing unless you `.await` or poll them
13
13
14
14
error: unused return value of `foo` that must be used
15
15
--> $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
2
2
--> $DIR/unused-supertrait.rs:9:5
3
3
|
4
4
LL | it();
5
- | ^^^^^
5
+ | ^^^^
6
6
|
7
7
= note: iterators are lazy and do nothing unless consumed
8
8
note: the lint level is defined here
You can’t perform that action at this time.
0 commit comments