]> git.proxmox.com Git - rustc.git/blob - 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
1 error: atomic loads cannot have `Release` and `AcqRel` ordering
2 --> $DIR/atomic_ordering_int.rs:15:20
3 |
4 LL | 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
10 error: atomic loads cannot have `Release` and `AcqRel` ordering
11 --> $DIR/atomic_ordering_int.rs:16: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` and `AcqRel` ordering
19 --> $DIR/atomic_ordering_int.rs:24: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` and `AcqRel` ordering
27 --> $DIR/atomic_ordering_int.rs:25: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` and `AcqRel` ordering
35 --> $DIR/atomic_ordering_int.rs:33: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` and `AcqRel` ordering
43 --> $DIR/atomic_ordering_int.rs:34: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` and `AcqRel` ordering
51 --> $DIR/atomic_ordering_int.rs:39: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` and `AcqRel` ordering
59 --> $DIR/atomic_ordering_int.rs:40: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` and `AcqRel` ordering
67 --> $DIR/atomic_ordering_int.rs:48: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` and `AcqRel` ordering
75 --> $DIR/atomic_ordering_int.rs:49: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` and `AcqRel` ordering
83 --> $DIR/atomic_ordering_int.rs:54: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` and `AcqRel` ordering
91 --> $DIR/atomic_ordering_int.rs:55: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` and `AcqRel` ordering
99 --> $DIR/atomic_ordering_int.rs:63: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` and `AcqRel` ordering
107 --> $DIR/atomic_ordering_int.rs:64: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` and `AcqRel` ordering
115 --> $DIR/atomic_ordering_int.rs:69: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` and `AcqRel` ordering
123 --> $DIR/atomic_ordering_int.rs:70: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` and `AcqRel` ordering
131 --> $DIR/atomic_ordering_int.rs:78: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` and `AcqRel` ordering
139 --> $DIR/atomic_ordering_int.rs:79: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` and `AcqRel` ordering
147 --> $DIR/atomic_ordering_int.rs:84: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` and `AcqRel` ordering
155 --> $DIR/atomic_ordering_int.rs:85: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