]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/unused/unused-supertrait.stderr
Rollup merge of #106670 - albertlarsan68:check-docs-in-pr-ci, r=Mark-Simulacrum
[rust.git] / tests / ui / lint / unused / unused-supertrait.stderr
1 error: unused implementer of `Iterator` that must be used
2   --> $DIR/unused-supertrait.rs:9:5
3    |
4 LL |     it();
5    |     ^^^^
6    |
7    = note: iterators are lazy and do nothing unless consumed
8 note: the lint level is defined here
9   --> $DIR/unused-supertrait.rs:1:9
10    |
11 LL | #![deny(unused_must_use)]
12    |         ^^^^^^^^^^^^^^^
13
14 error: aborting due to previous error
15