2022-09-25 17:23:36 -05:00
|
|
|
error: unused implementer of `Iterator` that must be used
|
|
|
|
--> $DIR/unused-supertrait.rs:9:5
|
|
|
|
|
|
|
|
|
LL | it();
|
2022-11-10 21:01:33 -06:00
|
|
|
| ^^^^
|
2022-09-25 17:23:36 -05:00
|
|
|
|
|
|
|
|
= 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)]
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2022-09-25 17:23:36 -05:00
|
|
|
|