summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/missing_spin_loop_no_std.stderr
blob: 2b3b6873c3c41ad31eb4b099535e0606de93a5df (plain)
1
2
3
4
5
6
7
8
9
10
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