File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 1+ error: avoid using named labels in inline assembly
2+ --> $DIR/hexagon-register-pairs.rs:29:15
3+ |
4+ LL | asm!("label1: r7:6 = combine(#2, #3)");
5+ | ^^^^^^
6+ |
7+ = help: only local labels of the form `<number>:` should be used in inline asm
8+ = 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
9+ = note: `#[deny(named_asm_labels)]` on by default
10+
11+ error: avoid using named labels in inline assembly
12+ --> $DIR/hexagon-register-pairs.rs:32:15
13+ |
14+ LL | asm!("hexagon_label: nop");
15+ | ^^^^^^^^^^^^^
16+ |
17+ = help: only local labels of the form `<number>:` should be used in inline asm
18+ = 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
19+
20+ error: aborting due to 2 previous errors
21+
You can’t perform that action at this time.
0 commit comments