@@ -475,16 +475,7 @@ LL | #[warn(named_asm_labels)]
475
475
| ^^^^^^^^^^^^^^^^
476
476
477
477
error: avoid using named labels in inline assembly
478
- --> $DIR/named-asm-labels.rs:178:17
479
- |
480
- LL | naked_asm!(".Lfoo: mov rax, {}; ret;", "nop", const 1)
481
- | ^^^^^
482
- |
483
- = help: only local labels of the form `<number>:` should be used in inline asm
484
- = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
485
-
486
- error: avoid using named labels in inline assembly
487
- --> $DIR/named-asm-labels.rs:185:20
478
+ --> $DIR/named-asm-labels.rs:183:20
488
479
|
489
480
LL | unsafe { asm!(".Lbar: mov rax, {}; ret;", "nop", const 1, options(noreturn)) }
490
481
| ^^^^^
@@ -493,49 +484,49 @@ LL | unsafe { asm!(".Lbar: mov rax, {}; ret;", "nop", const 1, options(noret
493
484
= note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
494
485
495
486
error: avoid using named labels in inline assembly
496
- --> $DIR/named-asm-labels.rs:193 :17
487
+ --> $DIR/named-asm-labels.rs:201 :17
497
488
|
498
- LL | naked_asm!(".Laaa : nop; ret;")
489
+ LL | naked_asm!(".Lccc : nop; ret;")
499
490
| ^^^^^
500
491
|
501
492
= help: only local labels of the form `<number>:` should be used in inline asm
502
493
= note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
503
494
504
495
error: avoid using named labels in inline assembly
505
- --> $DIR/named-asm-labels.rs:203:21
496
+ --> $DIR/named-asm-labels.rs:221:15
506
497
|
507
- LL | naked_asm !(".Lbbb : nop; ret;")
508
- | ^^^^^
498
+ LL | asm !("closure1 : nop");
499
+ | ^^^ ^^^^^
509
500
|
510
501
= help: only local labels of the form `<number>:` should be used in inline asm
511
502
= note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
512
503
513
504
error: avoid using named labels in inline assembly
514
- --> $DIR/named-asm-labels.rs:212 :15
505
+ --> $DIR/named-asm-labels.rs:225 :15
515
506
|
516
- LL | asm!("closure1 : nop");
507
+ LL | asm!("closure2 : nop");
517
508
| ^^^^^^^^
518
509
|
519
510
= help: only local labels of the form `<number>:` should be used in inline asm
520
511
= note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
521
512
522
513
error: avoid using named labels in inline assembly
523
- --> $DIR/named-asm-labels.rs:216:15
514
+ --> $DIR/named-asm-labels.rs:235:19
524
515
|
525
- LL | asm!("closure2 : nop");
526
- | ^^^^^^^^
516
+ LL | asm!("closure3 : nop");
517
+ | ^^^^^^^^
527
518
|
528
519
= help: only local labels of the form `<number>:` should be used in inline asm
529
520
= note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
530
521
531
522
error: avoid using named labels in inline assembly
532
- --> $DIR/named-asm-labels.rs:226:19
523
+ --> $DIR/named-asm-labels.rs:246:21
533
524
|
534
- LL | asm !("closure3 : nop");
535
- | ^^^ ^^^^^
525
+ LL | naked_asm !(".Lbbb : nop; ret;")
526
+ | ^^^^^
536
527
|
537
528
= help: only local labels of the form `<number>:` should be used in inline asm
538
529
= note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
539
530
540
- error: aborting due to 56 previous errors; 1 warning emitted
531
+ error: aborting due to 55 previous errors; 1 warning emitted
541
532
0 commit comments