]> git.lizzy.rs Git - rust.git/blob - tests/ui/empty_loop.stderr
iterate List by value
[rust.git] / tests / ui / empty_loop.stderr
1 error: empty `loop {}` detected. You may want to either use `panic!()` or add `std::thread::sleep(..);` to the loop body.
2   --> $DIR/empty_loop.rs:9:5
3    |
4 LL |     loop {}
5    |     ^^^^^^^
6    |
7    = note: `-D clippy::empty-loop` implied by `-D warnings`
8
9 error: empty `loop {}` detected. You may want to either use `panic!()` or add `std::thread::sleep(..);` to the loop body.
10   --> $DIR/empty_loop.rs:11:9
11    |
12 LL |         loop {}
13    |         ^^^^^^^
14
15 error: empty `loop {}` detected. You may want to either use `panic!()` or add `std::thread::sleep(..);` to the loop body.
16   --> $DIR/empty_loop.rs:15:9
17    |
18 LL |         'inner: loop {}
19    |         ^^^^^^^^^^^^^^^
20
21 error: aborting due to 3 previous errors
22