rust-clippy/tests/ui/iter_next_loop.stderr
Nilstrieb c2c73189c8 Bless clippy tests
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

9 lines
270 B
Text

error[E0423]: expected value, found macro `vec`
--> $DIR/iter_next_loop.rs:6:14
|
LL | for _ in vec.iter().next() {}
| ^^^ not a value
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0423`.