This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ LL | loop {}
1919 | ^^^^^^^
2020 |
2121 = note: `-D clippy::empty-loop` implied by `-D warnings`
22- = help: You should either use `panic!()` or add `std::thread::sleep(..);` to the loop body.
22+ = help: you should either use `panic!()` or add `std::thread::sleep(..);` to the loop body
2323
2424error: aborting due to 2 previous errors
2525
Original file line number Diff line number Diff line change @@ -5,23 +5,23 @@ LL | loop {}
55 | ^^^^^^^
66 |
77 = note: `-D clippy::empty-loop` implied by `-D warnings`
8- = help: You should either use `panic!()` or add `std::thread::sleep(..);` to the loop body.
8+ = help: you should either use `panic!()` or add `std::thread::sleep(..);` to the loop body
99
1010error: empty `loop {}` wastes CPU cycles
1111 --> $DIR/empty_loop.rs:11:9
1212 |
1313LL | loop {}
1414 | ^^^^^^^
1515 |
16- = help: You should either use `panic!()` or add `std::thread::sleep(..);` to the loop body.
16+ = help: you should either use `panic!()` or add `std::thread::sleep(..);` to the loop body
1717
1818error: empty `loop {}` wastes CPU cycles
1919 --> $DIR/empty_loop.rs:15:9
2020 |
2121LL | 'inner: loop {}
2222 | ^^^^^^^^^^^^^^^
2323 |
24- = help: You should either use `panic!()` or add `std::thread::sleep(..);` to the loop body.
24+ = help: you should either use `panic!()` or add `std::thread::sleep(..);` to the loop body
2525
2626error: aborting due to 3 previous errors
2727
Original file line number Diff line number Diff line change @@ -5,15 +5,15 @@ LL | loop {}
55 | ^^^^^^^
66 |
77 = note: `-D clippy::empty-loop` implied by `-D warnings`
8- = help: You should either use `panic!()` or add a call pausing or sleeping the thread to the loop body.
8+ = help: you should either use `panic!()` or add a call pausing or sleeping the thread to the loop body
99
1010error: empty `loop {}` wastes CPU cycles
1111 --> $DIR/empty_loop_no_std.rs:26:5
1212 |
1313LL | loop {}
1414 | ^^^^^^^
1515 |
16- = help: You should either use `panic!()` or add a call pausing or sleeping the thread to the loop body.
16+ = help: you should either use `panic!()` or add a call pausing or sleeping the thread to the loop body
1717
1818error: aborting due to 2 previous errors
1919
You can’t perform that action at this time.
0 commit comments