fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: empty `loop {}` wastes CPU cycles 2 --> $DIR/empty_loop.rs:9:5 3 | 4LL | loop {} 5 | ^^^^^^^ 6 | 7 = help: you should either use `panic!()` or add `std::thread::sleep(..);` to the loop body 8 = note: `-D clippy::empty-loop` implied by `-D warnings` 9 = help: to override `-D warnings` add `#[allow(clippy::empty_loop)]` 10 11error: empty `loop {}` wastes CPU cycles 12 --> $DIR/empty_loop.rs:12:9 13 | 14LL | loop {} 15 | ^^^^^^^ 16 | 17 = help: you should either use `panic!()` or add `std::thread::sleep(..);` to the loop body 18 19error: empty `loop {}` wastes CPU cycles 20 --> $DIR/empty_loop.rs:17:9 21 | 22LL | 'inner: loop {} 23 | ^^^^^^^^^^^^^^^ 24 | 25 = help: you should either use `panic!()` or add `std::thread::sleep(..);` to the loop body 26 27error: aborting due to 3 previous errors 28