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