You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/test/ui/asm/named_asm_labels.stderr
+18-18Lines changed: 18 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -207,16 +207,7 @@ LL | nop ; blah4: nop
207
207
= note: See the asm section of the unstable book <https://doc.rust-lang.org/nightly/unstable-book/library-features/asm.html#labels> for more information
208
208
209
209
error: do not use named labels in inline assembly
210
-
--> $DIR/named_asm_labels.rs:65:21
211
-
|
212
-
LL | asm!("1bar: blah: nop");
213
-
| ^^^^
214
-
|
215
-
= help: Only GAS local labels of the form `N:` where N is a number may be used in inline asm
216
-
= note: See the asm section of the unstable book <https://doc.rust-lang.org/nightly/unstable-book/library-features/asm.html#labels> for more information
= note: See the asm section of the unstable book <https://doc.rust-lang.org/nightly/unstable-book/library-features/asm.html#labels> for more information
226
217
227
218
error: do not use named labels in inline assembly
228
-
--> $DIR/named_asm_labels.rs:71:15
219
+
--> $DIR/named_asm_labels.rs:72:15
229
220
|
230
221
LL | asm!("def: def: nop");
231
222
| ^^^
@@ -234,7 +225,7 @@ LL | asm!("def: def: nop");
234
225
= note: See the asm section of the unstable book <https://doc.rust-lang.org/nightly/unstable-book/library-features/asm.html#labels> for more information
= note: See the asm section of the unstable book <https://doc.rust-lang.org/nightly/unstable-book/library-features/asm.html#labels> for more information
= note: See the asm section of the unstable book <https://doc.rust-lang.org/nightly/unstable-book/library-features/asm.html#labels> for more information
= note: See the asm section of the unstable book <https://doc.rust-lang.org/nightly/unstable-book/library-features/asm.html#labels> for more information
262
253
263
254
error: do not use named labels in inline assembly
264
-
--> $DIR/named_asm_labels.rs:82:15
255
+
--> $DIR/named_asm_labels.rs:83:15
265
256
|
266
257
LL | asm!("foooo\x3A nop");
267
258
| ^^^^^^^^^^^^^
@@ -270,7 +261,7 @@ LL | asm!("foooo\x3A nop");
270
261
= note: See the asm section of the unstable book <https://doc.rust-lang.org/nightly/unstable-book/library-features/asm.html#labels> for more information
= note: See the asm section of the unstable book <https://doc.rust-lang.org/nightly/unstable-book/library-features/asm.html#labels> for more information
= note: See the asm section of the unstable book <https://doc.rust-lang.org/nightly/unstable-book/library-features/asm.html#labels> for more information
289
280
290
281
error: do not use named labels in inline assembly
291
-
--> $DIR/named_asm_labels.rs:90:14
282
+
--> $DIR/named_asm_labels.rs:91:14
292
283
|
293
284
LL | asm!("\x41\x42\x43\x3A\x20\x6E\x6F\x70");
294
285
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
295
286
|
296
287
= help: Only GAS local labels of the form `N:` where N is a number may be used in inline asm
297
288
= note: See the asm section of the unstable book <https://doc.rust-lang.org/nightly/unstable-book/library-features/asm.html#labels> for more information
298
289
290
+
error: do not use named labels in inline assembly
291
+
--> $DIR/named_asm_labels.rs:102:13
292
+
|
293
+
LL | ab: nop // ab: does foo
294
+
| ^^
295
+
|
296
+
= help: Only GAS local labels of the form `N:` where N is a number may be used in inline asm
297
+
= note: See the asm section of the unstable book <https://doc.rust-lang.org/nightly/unstable-book/library-features/asm.html#labels> for more information
0 commit comments