rust-clippy/clippy_tests/examples/never_loop.stderr
Georg Brandl 6b6253016f Update stderr files for change in error reporting
rustc now (https://github.com/rust-lang/rust/issues/33525) does not
report an error count anymore, because it was not correct in many cases.
2017-05-26 16:54:07 +02:00

41 lines
920 B
Text

error: this loop never actually loops
--> never_loop.rs:8:5
|
8 | / loop {
9 | | println!("This is only ever printed once");
10 | | break;
11 | | }
| |_____^
|
= note: `-D never-loop` implied by `-D warnings`
error: this loop never actually loops
--> never_loop.rs:21:5
|
21 | / loop {
22 | | loop {
23 | | // another one
24 | | break;
25 | | }
26 | | break;
27 | | }
| |_____^
|
= note: `-D never-loop` implied by `-D warnings`
error: this loop never actually loops
--> never_loop.rs:22:9
|
22 | / loop {
23 | | // another one
24 | | break;
25 | | }
| |_________^
|
= note: `-D never-loop` implied by `-D warnings`
error: aborting due to previous error(s)
error: Could not compile `clippy_tests`.
To learn more, run the command again with --verbose.