@@ -79,47 +79,47 @@ LL | let _ = x.compare_exchange_weak(ptr, ptr2, Ordering::SeqCst, Ordering::
79
79
|
80
80
= help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed` instead
81
81
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`
83
83
--> $DIR/atomic_ordering_exchange_weak.rs:37:67
84
84
|
85
85
LL | let _ = x.compare_exchange_weak(ptr2, ptr, Ordering::Release, Ordering::Acquire);
86
86
| ^^^^^^^^^^^^^^^^^
87
87
|
88
88
= help: consider using ordering mode `Relaxed` instead
89
89
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`
91
91
--> $DIR/atomic_ordering_exchange_weak.rs:38:67
92
92
|
93
93
LL | let _ = x.compare_exchange_weak(ptr2, ptr, Ordering::Release, Ordering::SeqCst);
94
94
| ^^^^^^^^^^^^^^^^
95
95
|
96
96
= help: consider using ordering mode `Relaxed` instead
97
97
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`
99
99
--> $DIR/atomic_ordering_exchange_weak.rs:41:67
100
100
|
101
101
LL | let _ = x.compare_exchange_weak(ptr, ptr2, Ordering::Relaxed, Ordering::SeqCst);
102
102
| ^^^^^^^^^^^^^^^^
103
103
|
104
104
= help: consider using ordering mode `Relaxed` instead
105
105
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`
107
107
--> $DIR/atomic_ordering_exchange_weak.rs:42:67
108
108
|
109
109
LL | let _ = x.compare_exchange_weak(ptr, ptr2, Ordering::Relaxed, Ordering::Acquire);
110
110
| ^^^^^^^^^^^^^^^^^
111
111
|
112
112
= help: consider using ordering mode `Relaxed` instead
113
113
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`
115
115
--> $DIR/atomic_ordering_exchange_weak.rs:45:67
116
116
|
117
117
LL | let _ = x.compare_exchange_weak(ptr2, ptr, Ordering::Acquire, Ordering::SeqCst);
118
118
| ^^^^^^^^^^^^^^^^
119
119
|
120
120
= help: consider using ordering modes `Acquire` or `Relaxed` instead
121
121
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`
123
123
--> $DIR/atomic_ordering_exchange_weak.rs:46:66
124
124
|
125
125
LL | let _ = x.compare_exchange_weak(ptr2, ptr, Ordering::AcqRel, Ordering::SeqCst);
0 commit comments