rust-clippy/tests/ui/missing_spin_loop_no_std.stderr
2023-08-11 14:02:28 +00:00

10 lines
354 B
Text

error: busy-waiting loop should at least have a spin loop hint
--> $DIR/missing_spin_loop_no_std.rs:12:37
|
LL | while b.load(Ordering::Acquire) {}
| ^^ help: try: `{ core::hint::spin_loop() }`
|
= note: `-D clippy::missing-spin-loop` implied by `-D warnings`
error: aborting due to previous error