]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/lint-invalid-atomic-ordering-uint.stderr
Rollup merge of #105526 - Xiretza:iter-from-generator-derive, r=scottmcm
[rust.git] / tests / ui / lint / lint-invalid-atomic-ordering-uint.stderr
1 error: atomic loads cannot have `Release` or `AcqRel` ordering
2   --> $DIR/lint-invalid-atomic-ordering-uint.rs:19:20
3    |
4 LL |     let _ = x.load(Ordering::Release);
5    |                    ^^^^^^^^^^^^^^^^^
6    |
7    = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed`
8    = note: `#[deny(invalid_atomic_ordering)]` on by default
9
10 error: atomic loads cannot have `Release` or `AcqRel` ordering
11   --> $DIR/lint-invalid-atomic-ordering-uint.rs:21:20
12    |
13 LL |     let _ = x.load(Ordering::AcqRel);
14    |                    ^^^^^^^^^^^^^^^^
15    |
16    = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed`
17
18 error: atomic stores cannot have `Acquire` or `AcqRel` ordering
19   --> $DIR/lint-invalid-atomic-ordering-uint.rs:25:16
20    |
21 LL |     x.store(1, Ordering::Acquire);
22    |                ^^^^^^^^^^^^^^^^^
23    |
24    = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed`
25
26 error: atomic stores cannot have `Acquire` or `AcqRel` ordering
27   --> $DIR/lint-invalid-atomic-ordering-uint.rs:27:16
28    |
29 LL |     x.store(1, Ordering::AcqRel);
30    |                ^^^^^^^^^^^^^^^^
31    |
32    = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed`
33
34 error: atomic loads cannot have `Release` or `AcqRel` ordering
35   --> $DIR/lint-invalid-atomic-ordering-uint.rs:44:20
36    |
37 LL |     let _ = x.load(Ordering::Release);
38    |                    ^^^^^^^^^^^^^^^^^
39    |
40    = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed`
41
42 error: atomic loads cannot have `Release` or `AcqRel` ordering
43   --> $DIR/lint-invalid-atomic-ordering-uint.rs:46:20
44    |
45 LL |     let _ = x.load(Ordering::AcqRel);
46    |                    ^^^^^^^^^^^^^^^^
47    |
48    = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed`
49
50 error: atomic stores cannot have `Acquire` or `AcqRel` ordering
51   --> $DIR/lint-invalid-atomic-ordering-uint.rs:50:16
52    |
53 LL |     x.store(1, Ordering::Acquire);
54    |                ^^^^^^^^^^^^^^^^^
55    |
56    = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed`
57
58 error: atomic stores cannot have `Acquire` or `AcqRel` ordering
59   --> $DIR/lint-invalid-atomic-ordering-uint.rs:52:16
60    |
61 LL |     x.store(1, Ordering::AcqRel);
62    |                ^^^^^^^^^^^^^^^^
63    |
64    = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed`
65
66 error: atomic loads cannot have `Release` or `AcqRel` ordering
67   --> $DIR/lint-invalid-atomic-ordering-uint.rs:69:20
68    |
69 LL |     let _ = x.load(Ordering::Release);
70    |                    ^^^^^^^^^^^^^^^^^
71    |
72    = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed`
73
74 error: atomic loads cannot have `Release` or `AcqRel` ordering
75   --> $DIR/lint-invalid-atomic-ordering-uint.rs:71:20
76    |
77 LL |     let _ = x.load(Ordering::AcqRel);
78    |                    ^^^^^^^^^^^^^^^^
79    |
80    = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed`
81
82 error: atomic stores cannot have `Acquire` or `AcqRel` ordering
83   --> $DIR/lint-invalid-atomic-ordering-uint.rs:75:16
84    |
85 LL |     x.store(1, Ordering::Acquire);
86    |                ^^^^^^^^^^^^^^^^^
87    |
88    = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed`
89
90 error: atomic stores cannot have `Acquire` or `AcqRel` ordering
91   --> $DIR/lint-invalid-atomic-ordering-uint.rs:77:16
92    |
93 LL |     x.store(1, Ordering::AcqRel);
94    |                ^^^^^^^^^^^^^^^^
95    |
96    = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed`
97
98 error: atomic loads cannot have `Release` or `AcqRel` ordering
99   --> $DIR/lint-invalid-atomic-ordering-uint.rs:94:20
100    |
101 LL |     let _ = x.load(Ordering::Release);
102    |                    ^^^^^^^^^^^^^^^^^
103    |
104    = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed`
105
106 error: atomic loads cannot have `Release` or `AcqRel` ordering
107   --> $DIR/lint-invalid-atomic-ordering-uint.rs:96:20
108    |
109 LL |     let _ = x.load(Ordering::AcqRel);
110    |                    ^^^^^^^^^^^^^^^^
111    |
112    = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed`
113
114 error: atomic stores cannot have `Acquire` or `AcqRel` ordering
115   --> $DIR/lint-invalid-atomic-ordering-uint.rs:100:16
116    |
117 LL |     x.store(1, Ordering::Acquire);
118    |                ^^^^^^^^^^^^^^^^^
119    |
120    = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed`
121
122 error: atomic stores cannot have `Acquire` or `AcqRel` ordering
123   --> $DIR/lint-invalid-atomic-ordering-uint.rs:102:16
124    |
125 LL |     x.store(1, Ordering::AcqRel);
126    |                ^^^^^^^^^^^^^^^^
127    |
128    = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed`
129
130 error: atomic loads cannot have `Release` or `AcqRel` ordering
131   --> $DIR/lint-invalid-atomic-ordering-uint.rs:119:20
132    |
133 LL |     let _ = x.load(Ordering::Release);
134    |                    ^^^^^^^^^^^^^^^^^
135    |
136    = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed`
137
138 error: atomic loads cannot have `Release` or `AcqRel` ordering
139   --> $DIR/lint-invalid-atomic-ordering-uint.rs:121:20
140    |
141 LL |     let _ = x.load(Ordering::AcqRel);
142    |                    ^^^^^^^^^^^^^^^^
143    |
144    = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed`
145
146 error: atomic stores cannot have `Acquire` or `AcqRel` ordering
147   --> $DIR/lint-invalid-atomic-ordering-uint.rs:125:16
148    |
149 LL |     x.store(1, Ordering::Acquire);
150    |                ^^^^^^^^^^^^^^^^^
151    |
152    = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed`
153
154 error: atomic stores cannot have `Acquire` or `AcqRel` ordering
155   --> $DIR/lint-invalid-atomic-ordering-uint.rs:127:16
156    |
157 LL |     x.store(1, Ordering::AcqRel);
158    |                ^^^^^^^^^^^^^^^^
159    |
160    = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed`
161
162 error: aborting due to 20 previous errors
163