1 error: atomic loads cannot have `Release` and `AcqRel` ordering
2 --> $DIR/atomic_ordering_int.rs:15: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_int.rs:16: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_int.rs:24:16
21 LL | x.store(1, 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_int.rs:25:16
29 LL | x.store(1, Ordering::AcqRel);
32 = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed`
34 error: atomic loads cannot have `Release` and `AcqRel` ordering
35 --> $DIR/atomic_ordering_int.rs:33:20
37 LL | let _ = x.load(Ordering::Release);
40 = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed`
42 error: atomic loads cannot have `Release` and `AcqRel` ordering
43 --> $DIR/atomic_ordering_int.rs:34:20
45 LL | let _ = x.load(Ordering::AcqRel);
48 = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed`
50 error: atomic stores cannot have `Acquire` and `AcqRel` ordering
51 --> $DIR/atomic_ordering_int.rs:39:16
53 LL | x.store(1, Ordering::Acquire);
56 = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed`
58 error: atomic stores cannot have `Acquire` and `AcqRel` ordering
59 --> $DIR/atomic_ordering_int.rs:40:16
61 LL | x.store(1, Ordering::AcqRel);
64 = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed`
66 error: atomic loads cannot have `Release` and `AcqRel` ordering
67 --> $DIR/atomic_ordering_int.rs:48:20
69 LL | let _ = x.load(Ordering::Release);
72 = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed`
74 error: atomic loads cannot have `Release` and `AcqRel` ordering
75 --> $DIR/atomic_ordering_int.rs:49:20
77 LL | let _ = x.load(Ordering::AcqRel);
80 = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed`
82 error: atomic stores cannot have `Acquire` and `AcqRel` ordering
83 --> $DIR/atomic_ordering_int.rs:54:16
85 LL | x.store(1, Ordering::Acquire);
88 = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed`
90 error: atomic stores cannot have `Acquire` and `AcqRel` ordering
91 --> $DIR/atomic_ordering_int.rs:55:16
93 LL | x.store(1, Ordering::AcqRel);
96 = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed`
98 error: atomic loads cannot have `Release` and `AcqRel` ordering
99 --> $DIR/atomic_ordering_int.rs:63:20
101 LL | let _ = x.load(Ordering::Release);
104 = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed`
106 error: atomic loads cannot have `Release` and `AcqRel` ordering
107 --> $DIR/atomic_ordering_int.rs:64:20
109 LL | let _ = x.load(Ordering::AcqRel);
112 = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed`
114 error: atomic stores cannot have `Acquire` and `AcqRel` ordering
115 --> $DIR/atomic_ordering_int.rs:69:16
117 LL | x.store(1, Ordering::Acquire);
120 = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed`
122 error: atomic stores cannot have `Acquire` and `AcqRel` ordering
123 --> $DIR/atomic_ordering_int.rs:70:16
125 LL | x.store(1, Ordering::AcqRel);
128 = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed`
130 error: atomic loads cannot have `Release` and `AcqRel` ordering
131 --> $DIR/atomic_ordering_int.rs:78:20
133 LL | let _ = x.load(Ordering::Release);
136 = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed`
138 error: atomic loads cannot have `Release` and `AcqRel` ordering
139 --> $DIR/atomic_ordering_int.rs:79:20
141 LL | let _ = x.load(Ordering::AcqRel);
144 = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed`
146 error: atomic stores cannot have `Acquire` and `AcqRel` ordering
147 --> $DIR/atomic_ordering_int.rs:84:16
149 LL | x.store(1, Ordering::Acquire);
152 = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed`
154 error: atomic stores cannot have `Acquire` and `AcqRel` ordering
155 --> $DIR/atomic_ordering_int.rs:85:16
157 LL | x.store(1, Ordering::AcqRel);
160 = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed`
162 error: aborting due to 20 previous errors