]> git.lizzy.rs Git - rust.git/blob - tests/ui/issue_2356.stderr
Addition `manual_map` test for `unsafe` blocks
[rust.git] / tests / ui / issue_2356.stderr
1 error: this loop could be written as a `for` loop
2   --> $DIR/issue_2356.rs:15:9
3    |
4 LL |         while let Some(e) = it.next() {
5    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for e in it`
6    |
7 note: the lint level is defined here
8   --> $DIR/issue_2356.rs:1:9
9    |
10 LL | #![deny(clippy::while_let_on_iterator)]
11    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14