blob: cb45add9c2b1ba13886f43ecdbe3c790f8fc6df5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
error: unused implementer of `Iterator` that must be used
--> $DIR/unused-supertrait.rs:9:5
|
LL | it();
| ^^^^
|
= note: iterators are lazy and do nothing unless consumed
note: the lint level is defined here
--> $DIR/unused-supertrait.rs:1:9
|
LL | #![deny(unused_must_use)]
| ^^^^^^^^^^^^^^^
error: aborting due to previous error
|