Skip to content

Commit 8294693

Browse files
committed
Add stderr file
1 parent d5e93fd commit 8294693

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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+

0 commit comments

Comments
 (0)