@@ -79,47 +79,47 @@ LL | let _ = x.compare_exchange_weak(ptr, ptr2, Ordering::SeqCst, Ordering::
7979 |
8080 = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed` instead
8181
82- error: compare_exchange_weak's failure ordering may not stronger than the success ordering of `Release`
82+ error: compare_exchange_weak's failure ordering may not be stronger than the success ordering of `Release`
8383 --> $DIR/atomic_ordering_exchange_weak.rs:37:67
8484 |
8585LL | let _ = x.compare_exchange_weak(ptr2, ptr, Ordering::Release, Ordering::Acquire);
8686 | ^^^^^^^^^^^^^^^^^
8787 |
8888 = help: consider using ordering mode `Relaxed` instead
8989
90- error: compare_exchange_weak's failure ordering may not stronger than the success ordering of `Release`
90+ error: compare_exchange_weak's failure ordering may not be stronger than the success ordering of `Release`
9191 --> $DIR/atomic_ordering_exchange_weak.rs:38:67
9292 |
9393LL | let _ = x.compare_exchange_weak(ptr2, ptr, Ordering::Release, Ordering::SeqCst);
9494 | ^^^^^^^^^^^^^^^^
9595 |
9696 = help: consider using ordering mode `Relaxed` instead
9797
98- error: compare_exchange_weak's failure ordering may not stronger than the success ordering of `Relaxed`
98+ error: compare_exchange_weak's failure ordering may not be stronger than the success ordering of `Relaxed`
9999 --> $DIR/atomic_ordering_exchange_weak.rs:41:67
100100 |
101101LL | let _ = x.compare_exchange_weak(ptr, ptr2, Ordering::Relaxed, Ordering::SeqCst);
102102 | ^^^^^^^^^^^^^^^^
103103 |
104104 = help: consider using ordering mode `Relaxed` instead
105105
106- error: compare_exchange_weak's failure ordering may not stronger than the success ordering of `Relaxed`
106+ error: compare_exchange_weak's failure ordering may not be stronger than the success ordering of `Relaxed`
107107 --> $DIR/atomic_ordering_exchange_weak.rs:42:67
108108 |
109109LL | let _ = x.compare_exchange_weak(ptr, ptr2, Ordering::Relaxed, Ordering::Acquire);
110110 | ^^^^^^^^^^^^^^^^^
111111 |
112112 = help: consider using ordering mode `Relaxed` instead
113113
114- error: compare_exchange_weak's failure ordering may not stronger than the success ordering of `Acquire`
114+ error: compare_exchange_weak's failure ordering may not be stronger than the success ordering of `Acquire`
115115 --> $DIR/atomic_ordering_exchange_weak.rs:45:67
116116 |
117117LL | let _ = x.compare_exchange_weak(ptr2, ptr, Ordering::Acquire, Ordering::SeqCst);
118118 | ^^^^^^^^^^^^^^^^
119119 |
120120 = help: consider using ordering modes `Acquire` or `Relaxed` instead
121121
122- error: compare_exchange_weak's failure ordering may not stronger than the success ordering of `AcqRel`
122+ error: compare_exchange_weak's failure ordering may not be stronger than the success ordering of `AcqRel`
123123 --> $DIR/atomic_ordering_exchange_weak.rs:46:66
124124 |
125125LL | let _ = x.compare_exchange_weak(ptr2, ptr, Ordering::AcqRel, Ordering::SeqCst);
0 commit comments