@@ -8,13 +8,13 @@ error: expected string literal
8
8
--> $DIR/asm-parse-errors.rs:5:18
9
9
|
10
10
LL | asm!("nop" : struct);
11
- | ^^^^^^ expected string literal
11
+ | ^^^^^^ not a string literal
12
12
13
13
error: expected string literal
14
14
--> $DIR/asm-parse-errors.rs:6:30
15
15
|
16
16
LL | asm!("mov %eax, $$0x2" : struct);
17
- | ^^^^^^ expected string literal
17
+ | ^^^^^^ not a string literal
18
18
19
19
error: expected `(`, found keyword `struct`
20
20
--> $DIR/asm-parse-errors.rs:7:39
@@ -32,7 +32,7 @@ error: expected string literal
32
32
--> $DIR/asm-parse-errors.rs:9:44
33
33
|
34
34
LL | asm!("in %dx, %al" : "={al}"(result) : struct);
35
- | ^^^^^^ expected string literal
35
+ | ^^^^^^ not a string literal
36
36
37
37
error: expected `(`, found keyword `struct`
38
38
--> $DIR/asm-parse-errors.rs:10:51
@@ -50,13 +50,13 @@ error: expected string literal
50
50
--> $DIR/asm-parse-errors.rs:12:36
51
51
|
52
52
LL | asm!("mov $$0x200, %eax" : : : struct);
53
- | ^^^^^^ expected string literal
53
+ | ^^^^^^ not a string literal
54
54
55
55
error: expected string literal
56
56
--> $DIR/asm-parse-errors.rs:13:45
57
57
|
58
58
LL | asm!("mov eax, 2" : "={eax}"(foo) : : : struct);
59
- | ^^^^^^ expected string literal
59
+ | ^^^^^^ not a string literal
60
60
61
61
error: inline assembly must be a string literal
62
62
--> $DIR/asm-parse-errors.rs:14:10
0 commit comments