about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/empty_loop_no_std.stderr
blob: f36fb9d9e3f21e25f2bda47513a5fb89f9143eae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error: empty `loop {}` wastes CPU cycles
  --> tests/ui/empty_loop_no_std.rs:10:5
   |
LL |     loop {}
   |     ^^^^^^^
   |
   = help: you should either use `panic!()` or add a call pausing or sleeping the thread to the loop body
   = note: `-D clippy::empty-loop` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::empty_loop)]`

error: aborting due to 1 previous error