mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-14 09:36:06 +00:00
11 lines
359 B
Plaintext
11 lines
359 B
Plaintext
error: busy-waiting loop should at least have a spin loop hint
|
|
--> $DIR/missing_spin_loop_no_std.rs:13:37
|
|
|
|
|
LL | while b.load(Ordering::Acquire) {}
|
|
| ^^ help: try this: `{ core::hint::spin_loop() }`
|
|
|
|
|
= note: `-D clippy::missing-spin-loop` implied by `-D warnings`
|
|
|
|
error: aborting due to previous error
|
|
|