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