mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-21 02:23:19 +00:00
28 lines
589 B
Text
28 lines
589 B
Text
error: this loop never actually loops
|
|
--> never_loop.rs:8:5
|
|
|
|
|
8 | / loop {
|
|
9 | | break;
|
|
10 | | }
|
|
| |_____^
|
|
|
|
|
= note: `-D never-loop` implied by `-D warnings`
|
|
|
|
error: this loop never actually loops
|
|
--> never_loop.rs:24:5
|
|
|
|
|
24 | / loop {
|
|
25 | | while true {
|
|
26 | | break
|
|
27 | | }
|
|
28 | | break
|
|
29 | | }
|
|
| |_____^
|
|
|
|
|
= 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.
|