]> git.lizzy.rs Git - rust.git/blob - src/test/ui/asm/named-asm-labels.stderr
Merge commit '4a053f206fd6799a25823c307f7d7f9d897be118' into sync-rustfmt-subtree
[rust.git] / src / test / ui / asm / named-asm-labels.stderr
1 error: avoid using named labels in inline assembly
2   --> $DIR/named-asm-labels.rs:24:15
3    |
4 LL |         asm!("bar: nop");
5    |               ^^^
6    |
7    = note: `#[deny(named_asm_labels)]` on by default
8    = help: only local labels of the form `<number>:` should be used in inline asm
9
10 error: avoid using named labels in inline assembly
11   --> $DIR/named-asm-labels.rs:27:15
12    |
13 LL |         asm!("abcd:");
14    |               ^^^^
15    |
16    = help: only local labels of the form `<number>:` should be used in inline asm
17
18 error: avoid using named labels in inline assembly
19   --> $DIR/named-asm-labels.rs:30:15
20    |
21 LL |         asm!("foo: bar1: nop");
22    |               ^^^  ^^^^
23    |
24    = help: only local labels of the form `<number>:` should be used in inline asm
25
26 error: avoid using named labels in inline assembly
27   --> $DIR/named-asm-labels.rs:34:15
28    |
29 LL |         asm!("foo1: nop", "nop");
30    |               ^^^^
31    |
32    = help: only local labels of the form `<number>:` should be used in inline asm
33
34 error: avoid using named labels in inline assembly
35   --> $DIR/named-asm-labels.rs:35:15
36    |
37 LL |         asm!("foo2: foo3: nop", "nop");
38    |               ^^^^  ^^^^
39    |
40    = help: only local labels of the form `<number>:` should be used in inline asm
41
42 error: avoid using named labels in inline assembly
43   --> $DIR/named-asm-labels.rs:37:22
44    |
45 LL |         asm!("nop", "foo4: nop");
46    |                      ^^^^
47    |
48    = help: only local labels of the form `<number>:` should be used in inline asm
49
50 error: avoid using named labels in inline assembly
51   --> $DIR/named-asm-labels.rs:38:15
52    |
53 LL |         asm!("foo5: nop", "foo6: nop");
54    |               ^^^^
55    |
56    = help: only local labels of the form `<number>:` should be used in inline asm
57
58 error: avoid using named labels in inline assembly
59   --> $DIR/named-asm-labels.rs:38:28
60    |
61 LL |         asm!("foo5: nop", "foo6: nop");
62    |                            ^^^^
63    |
64    = help: only local labels of the form `<number>:` should be used in inline asm
65
66 error: avoid using named labels in inline assembly
67   --> $DIR/named-asm-labels.rs:43:15
68    |
69 LL |         asm!("foo7: nop; foo8: nop");
70    |               ^^^^       ^^^^
71    |
72    = help: only local labels of the form `<number>:` should be used in inline asm
73
74 error: avoid using named labels in inline assembly
75   --> $DIR/named-asm-labels.rs:45:15
76    |
77 LL |         asm!("foo9: nop; nop");
78    |               ^^^^
79    |
80    = help: only local labels of the form `<number>:` should be used in inline asm
81
82 error: avoid using named labels in inline assembly
83   --> $DIR/named-asm-labels.rs:46:20
84    |
85 LL |         asm!("nop; foo10: nop");
86    |                    ^^^^^
87    |
88    = help: only local labels of the form `<number>:` should be used in inline asm
89
90 error: avoid using named labels in inline assembly
91   --> $DIR/named-asm-labels.rs:49:15
92    |
93 LL |         asm!("bar2: nop\n bar3: nop");
94    |               ^^^^        ^^^^
95    |
96    = help: only local labels of the form `<number>:` should be used in inline asm
97
98 error: avoid using named labels in inline assembly
99   --> $DIR/named-asm-labels.rs:51:15
100    |
101 LL |         asm!("bar4: nop\n nop");
102    |               ^^^^
103    |
104    = help: only local labels of the form `<number>:` should be used in inline asm
105
106 error: avoid using named labels in inline assembly
107   --> $DIR/named-asm-labels.rs:52:21
108    |
109 LL |         asm!("nop\n bar5: nop");
110    |                     ^^^^
111    |
112    = help: only local labels of the form `<number>:` should be used in inline asm
113
114 error: avoid using named labels in inline assembly
115   --> $DIR/named-asm-labels.rs:53:21
116    |
117 LL |         asm!("nop\n bar6: bar7: nop");
118    |                     ^^^^  ^^^^
119    |
120    = help: only local labels of the form `<number>:` should be used in inline asm
121
122 error: avoid using named labels in inline assembly
123   --> $DIR/named-asm-labels.rs:59:13
124    |
125 LL |             blah2: nop
126    |             ^^^^^
127 LL |             blah3: nop
128    |             ^^^^^
129    |
130    = help: only local labels of the form `<number>:` should be used in inline asm
131
132 error: avoid using named labels in inline assembly
133   --> $DIR/named-asm-labels.rs:68:19
134    |
135 LL |             nop ; blah4: nop
136    |                   ^^^^^
137    |
138    = help: only local labels of the form `<number>:` should be used in inline asm
139
140 error: avoid using named labels in inline assembly
141   --> $DIR/named-asm-labels.rs:82:15
142    |
143 LL |         asm!("blah1: 2bar: nop");
144    |               ^^^^^
145    |
146    = help: only local labels of the form `<number>:` should be used in inline asm
147
148 error: avoid using named labels in inline assembly
149   --> $DIR/named-asm-labels.rs:85:15
150    |
151 LL |         asm!("def: def: nop");
152    |               ^^^
153    |
154    = help: only local labels of the form `<number>:` should be used in inline asm
155
156 error: avoid using named labels in inline assembly
157   --> $DIR/named-asm-labels.rs:86:15
158    |
159 LL |         asm!("def: nop\ndef: nop");
160    |               ^^^
161    |
162    = help: only local labels of the form `<number>:` should be used in inline asm
163
164 error: avoid using named labels in inline assembly
165   --> $DIR/named-asm-labels.rs:87:15
166    |
167 LL |         asm!("def: nop; def: nop");
168    |               ^^^
169    |
170    = help: only local labels of the form `<number>:` should be used in inline asm
171
172 error: avoid using named labels in inline assembly
173   --> $DIR/named-asm-labels.rs:95:15
174    |
175 LL |         asm!("fooo\u{003A} nop");
176    |               ^^^^^^^^^^^^^^^^
177    |
178    = help: only local labels of the form `<number>:` should be used in inline asm
179
180 error: avoid using named labels in inline assembly
181   --> $DIR/named-asm-labels.rs:96:15
182    |
183 LL |         asm!("foooo\x3A nop");
184    |               ^^^^^^^^^^^^^
185    |
186    = help: only local labels of the form `<number>:` should be used in inline asm
187
188 error: avoid using named labels in inline assembly
189   --> $DIR/named-asm-labels.rs:99:15
190    |
191 LL |         asm!("fooooo:\u{000A} nop");
192    |               ^^^^^^
193    |
194    = help: only local labels of the form `<number>:` should be used in inline asm
195
196 error: avoid using named labels in inline assembly
197   --> $DIR/named-asm-labels.rs:100:15
198    |
199 LL |         asm!("foooooo:\x0A nop");
200    |               ^^^^^^^
201    |
202    = help: only local labels of the form `<number>:` should be used in inline asm
203
204 error: avoid using named labels in inline assembly
205   --> $DIR/named-asm-labels.rs:104:14
206    |
207 LL |         asm!("\x41\x42\x43\x3A\x20\x6E\x6F\x70");
208    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
209    |
210    = help: only local labels of the form `<number>:` should be used in inline asm
211
212 error: avoid using named labels in inline assembly
213   --> $DIR/named-asm-labels.rs:112:13
214    |
215 LL |             ab: nop // ab: does foo
216    |             ^^
217    |
218    = help: only local labels of the form `<number>:` should be used in inline asm
219
220 error: avoid using named labels in inline assembly
221   --> $DIR/named-asm-labels.rs:124:14
222    |
223 LL |         asm!(include_str!("named-asm-labels.s"));
224    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
225    |
226    = help: only local labels of the form `<number>:` should be used in inline asm
227
228 warning: avoid using named labels in inline assembly
229   --> $DIR/named-asm-labels.rs:134:19
230    |
231 LL |             asm!("warned: nop");
232    |                   ^^^^^^
233    |
234 note: the lint level is defined here
235   --> $DIR/named-asm-labels.rs:132:16
236    |
237 LL |         #[warn(named_asm_labels)]
238    |                ^^^^^^^^^^^^^^^^
239    = help: only local labels of the form `<number>:` should be used in inline asm
240
241 error: avoid using named labels in inline assembly
242   --> $DIR/named-asm-labels.rs:143:20
243    |
244 LL |     unsafe { asm!(".Lfoo: mov rax, {}; ret;", "nop", const 1, options(noreturn)) }
245    |                    ^^^^^
246    |
247    = help: only local labels of the form `<number>:` should be used in inline asm
248
249 error: avoid using named labels in inline assembly
250   --> $DIR/named-asm-labels.rs:149:20
251    |
252 LL |     unsafe { asm!(".Lbar: mov rax, {}; ret;", "nop", const 1, options(noreturn)) }
253    |                    ^^^^^
254    |
255    = help: only local labels of the form `<number>:` should be used in inline asm
256
257 error: avoid using named labels in inline assembly
258   --> $DIR/named-asm-labels.rs:157:20
259    |
260 LL |     unsafe { asm!(".Laaa: nop; ret;", options(noreturn)) }
261    |                    ^^^^^
262    |
263    = help: only local labels of the form `<number>:` should be used in inline asm
264
265 error: avoid using named labels in inline assembly
266   --> $DIR/named-asm-labels.rs:167:24
267    |
268 LL |         unsafe { asm!(".Lbbb: nop; ret;", options(noreturn)) }
269    |                        ^^^^^
270    |
271    = help: only local labels of the form `<number>:` should be used in inline asm
272
273 error: avoid using named labels in inline assembly
274   --> $DIR/named-asm-labels.rs:176:15
275    |
276 LL |         asm!("closure1: nop");
277    |               ^^^^^^^^
278    |
279    = help: only local labels of the form `<number>:` should be used in inline asm
280
281 error: avoid using named labels in inline assembly
282   --> $DIR/named-asm-labels.rs:180:15
283    |
284 LL |         asm!("closure2: nop");
285    |               ^^^^^^^^
286    |
287    = help: only local labels of the form `<number>:` should be used in inline asm
288
289 error: avoid using named labels in inline assembly
290   --> $DIR/named-asm-labels.rs:190:19
291    |
292 LL |             asm!("closure3: nop");
293    |                   ^^^^^^^^
294    |
295    = help: only local labels of the form `<number>:` should be used in inline asm
296
297 error: aborting due to 35 previous errors; 1 warning emitted
298