@@ -127,133 +127,5 @@ LL | let _ = x.compare_exchange(0, 0, Ordering::AcqRel, Ordering::SeqCst);
127127 |
128128 = help: consider using ordering modes `Acquire` or `Relaxed` instead
129129
130- error: compare_exchange_weak's failure ordering may not be `Release` or `AcqRel`
131- --> $DIR/atomic_ordering_exchange.rs:60:62
132- |
133- LL | let _ = x.compare_exchange_weak(0, 0, Ordering::Relaxed, Ordering::AcqRel);
134- | ^^^^^^^^^^^^^^^^
135- |
136- = help: consider using ordering mode `Relaxed` instead
137-
138- error: compare_exchange_weak's failure ordering may not be `Release` or `AcqRel`
139- --> $DIR/atomic_ordering_exchange.rs:61:62
140- |
141- LL | let _ = x.compare_exchange_weak(0, 0, Ordering::Acquire, Ordering::AcqRel);
142- | ^^^^^^^^^^^^^^^^
143- |
144- = help: consider using ordering modes `Acquire` or `Relaxed` instead
145-
146- error: compare_exchange_weak's failure ordering may not be `Release` or `AcqRel`
147- --> $DIR/atomic_ordering_exchange.rs:62:62
148- |
149- LL | let _ = x.compare_exchange_weak(0, 0, Ordering::Release, Ordering::AcqRel);
150- | ^^^^^^^^^^^^^^^^
151- |
152- = help: consider using ordering mode `Relaxed` instead
153-
154- error: compare_exchange_weak's failure ordering may not be `Release` or `AcqRel`
155- --> $DIR/atomic_ordering_exchange.rs:63:61
156- |
157- LL | let _ = x.compare_exchange_weak(0, 0, Ordering::AcqRel, Ordering::AcqRel);
158- | ^^^^^^^^^^^^^^^^
159- |
160- = help: consider using ordering modes `Acquire` or `Relaxed` instead
161-
162- error: compare_exchange_weak's failure ordering may not be `Release` or `AcqRel`
163- --> $DIR/atomic_ordering_exchange.rs:64:61
164- |
165- LL | let _ = x.compare_exchange_weak(0, 0, Ordering::SeqCst, Ordering::AcqRel);
166- | ^^^^^^^^^^^^^^^^
167- |
168- = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed` instead
169-
170- error: compare_exchange_weak's failure ordering may not be `Release` or `AcqRel`
171- --> $DIR/atomic_ordering_exchange.rs:67:62
172- |
173- LL | let _ = x.compare_exchange_weak(0, 0, Ordering::Relaxed, Ordering::Release);
174- | ^^^^^^^^^^^^^^^^^
175- |
176- = help: consider using ordering mode `Relaxed` instead
177-
178- error: compare_exchange_weak's failure ordering may not be `Release` or `AcqRel`
179- --> $DIR/atomic_ordering_exchange.rs:68:62
180- |
181- LL | let _ = x.compare_exchange_weak(0, 0, Ordering::Acquire, Ordering::Release);
182- | ^^^^^^^^^^^^^^^^^
183- |
184- = help: consider using ordering modes `Acquire` or `Relaxed` instead
185-
186- error: compare_exchange_weak's failure ordering may not be `Release` or `AcqRel`
187- --> $DIR/atomic_ordering_exchange.rs:69:62
188- |
189- LL | let _ = x.compare_exchange_weak(0, 0, Ordering::Release, Ordering::Release);
190- | ^^^^^^^^^^^^^^^^^
191- |
192- = help: consider using ordering mode `Relaxed` instead
193-
194- error: compare_exchange_weak's failure ordering may not be `Release` or `AcqRel`
195- --> $DIR/atomic_ordering_exchange.rs:70:61
196- |
197- LL | let _ = x.compare_exchange_weak(0, 0, Ordering::AcqRel, Ordering::Release);
198- | ^^^^^^^^^^^^^^^^^
199- |
200- = help: consider using ordering modes `Acquire` or `Relaxed` instead
201-
202- error: compare_exchange_weak's failure ordering may not be `Release` or `AcqRel`
203- --> $DIR/atomic_ordering_exchange.rs:71:61
204- |
205- LL | let _ = x.compare_exchange_weak(0, 0, Ordering::SeqCst, Ordering::Release);
206- | ^^^^^^^^^^^^^^^^^
207- |
208- = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed` instead
209-
210- error: compare_exchange_weak's failure ordering may not stronger than the success ordering of `Release`
211- --> $DIR/atomic_ordering_exchange.rs:74:62
212- |
213- LL | let _ = x.compare_exchange_weak(0, 0, Ordering::Release, Ordering::Acquire);
214- | ^^^^^^^^^^^^^^^^^
215- |
216- = help: consider using ordering mode `Relaxed` instead
217-
218- error: compare_exchange_weak's failure ordering may not stronger than the success ordering of `Release`
219- --> $DIR/atomic_ordering_exchange.rs:75:62
220- |
221- LL | let _ = x.compare_exchange_weak(0, 0, Ordering::Release, Ordering::SeqCst);
222- | ^^^^^^^^^^^^^^^^
223- |
224- = help: consider using ordering mode `Relaxed` instead
225-
226- error: compare_exchange_weak's failure ordering may not stronger than the success ordering of `Relaxed`
227- --> $DIR/atomic_ordering_exchange.rs:78:62
228- |
229- LL | let _ = x.compare_exchange_weak(0, 0, Ordering::Relaxed, Ordering::SeqCst);
230- | ^^^^^^^^^^^^^^^^
231- |
232- = help: consider using ordering mode `Relaxed` instead
233-
234- error: compare_exchange_weak's failure ordering may not stronger than the success ordering of `Relaxed`
235- --> $DIR/atomic_ordering_exchange.rs:79:62
236- |
237- LL | let _ = x.compare_exchange_weak(0, 0, Ordering::Relaxed, Ordering::Acquire);
238- | ^^^^^^^^^^^^^^^^^
239- |
240- = help: consider using ordering mode `Relaxed` instead
241-
242- error: compare_exchange_weak's failure ordering may not stronger than the success ordering of `Acquire`
243- --> $DIR/atomic_ordering_exchange.rs:82:62
244- |
245- LL | let _ = x.compare_exchange_weak(0, 0, Ordering::Acquire, Ordering::SeqCst);
246- | ^^^^^^^^^^^^^^^^
247- |
248- = help: consider using ordering modes `Acquire` or `Relaxed` instead
249-
250- error: compare_exchange_weak's failure ordering may not stronger than the success ordering of `AcqRel`
251- --> $DIR/atomic_ordering_exchange.rs:83:61
252- |
253- LL | let _ = x.compare_exchange_weak(0, 0, Ordering::AcqRel, Ordering::SeqCst);
254- | ^^^^^^^^^^^^^^^^
255- |
256- = help: consider using ordering modes `Acquire` or `Relaxed` instead
257-
258- error: aborting due to 32 previous errors
130+ error: aborting due to 16 previous errors
259131
0 commit comments