rust/tests/ui/missing_spin_loop_no_std.stderr

11 lines
354 B
Plaintext
Raw Normal View History

2021-12-26 03:00:29 -06:00
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) {}
2023-07-01 06:08:01 -05:00
| ^^ help: try: `{ core::hint::spin_loop() }`
2021-12-26 03:00:29 -06:00
|
= note: `-D clippy::missing-spin-loop` implied by `-D warnings`
error: aborting due to previous error