@@ -1,21 +1,21 @@ |
|
|
1 |
1 |
error: invalid `sym` operand |
2 |
|
- --> $DIR/invalid-sym-operand.rs:23:24 |
|
2 |
+ --> $DIR/invalid-sym-operand.rs:27:24 |
3 |
3 |
| |
4 |
4 |
LL | asm!("{}", sym x); |
5 |
5 |
| ^ is a local variable |
6 |
6 |
| |
7 |
7 |
= help: `sym` operands must refer to either a function or a static |
8 |
8 |
|
9 |
9 |
error: invalid `sym` operand |
10 |
|
- --> $DIR/invalid-sym-operand.rs:9:19 |
|
10 |
+ --> $DIR/invalid-sym-operand.rs:13:19 |
11 |
11 |
| |
12 |
12 |
LL | global_asm!("{}", sym C); |
13 |
13 |
| ^^^^^ is an `i32` |
14 |
14 |
| |
15 |
15 |
= help: `sym` operands must refer to either a function or a static |
16 |
16 |
|
17 |
17 |
error: invalid `sym` operand |
18 |
|
- --> $DIR/invalid-sym-operand.rs:21:20 |
|
18 |
+ --> $DIR/invalid-sym-operand.rs:25:20 |
19 |
19 |
| |
20 |
20 |
LL | asm!("{}", sym C); |
21 |
21 |
| ^^^^^ is an `i32` |