1 error: atomic loads cannot have `Release` and `AcqRel` ordering
2 --> $DIR/atomic_ordering_ptr.rs:16:20
4 LL | let _ = x.load(Ordering::Release);
7 = note: `-D clippy::invalid-atomic-ordering` implied by `-D warnings`
8 = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed`
10 error: atomic loads cannot have `Release` and `AcqRel` ordering
11 --> $DIR/atomic_ordering_ptr.rs:17:20
13 LL | let _ = x.load(Ordering::AcqRel);
16 = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed`
18 error: atomic stores cannot have `Acquire` and `AcqRel` ordering
19 --> $DIR/atomic_ordering_ptr.rs:25:24
21 LL | x.store(other_ptr, Ordering::Acquire);
24 = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed`
26 error: atomic stores cannot have `Acquire` and `AcqRel` ordering
27 --> $DIR/atomic_ordering_ptr.rs:26:24
29 LL | x.store(other_ptr, Ordering::AcqRel);
32 = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed`
34 error: aborting due to 4 previous errors