mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
16 lines
372 B
Plaintext
16 lines
372 B
Plaintext
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
|
|
|