]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/missing_spin_loop_no_std.stderr
Auto merge of #97944 - nikic:freebsd-update, r=Mark-Simulacrum
[rust.git] / src / tools / clippy / tests / ui / missing_spin_loop_no_std.stderr
1 error: busy-waiting loop should at least have a spin loop hint
2   --> $DIR/missing_spin_loop_no_std.rs:13:37
3    |
4 LL |     while b.load(Ordering::Acquire) {}
5    |                                     ^^ help: try this: `{ core::hint::spin_loop() }`
6    |
7    = note: `-D clippy::missing-spin-loop` implied by `-D warnings`
8
9 error: aborting due to previous error
10