@@ -8,13 +8,13 @@ error: expected string literal
88 --> $DIR/asm-parse-errors.rs:5:18
99 |
1010LL | asm!("nop" : struct);
11- | ^^^^^^ expected string literal
11+ | ^^^^^^ not a string literal
1212
1313error: expected string literal
1414 --> $DIR/asm-parse-errors.rs:6:30
1515 |
1616LL | asm!("mov %eax, $$0x2" : struct);
17- | ^^^^^^ expected string literal
17+ | ^^^^^^ not a string literal
1818
1919error: expected `(`, found keyword `struct`
2020 --> $DIR/asm-parse-errors.rs:7:39
@@ -32,7 +32,7 @@ error: expected string literal
3232 --> $DIR/asm-parse-errors.rs:9:44
3333 |
3434LL | asm!("in %dx, %al" : "={al}"(result) : struct);
35- | ^^^^^^ expected string literal
35+ | ^^^^^^ not a string literal
3636
3737error: expected `(`, found keyword `struct`
3838 --> $DIR/asm-parse-errors.rs:10:51
@@ -50,13 +50,13 @@ error: expected string literal
5050 --> $DIR/asm-parse-errors.rs:12:36
5151 |
5252LL | asm!("mov $$0x200, %eax" : : : struct);
53- | ^^^^^^ expected string literal
53+ | ^^^^^^ not a string literal
5454
5555error: expected string literal
5656 --> $DIR/asm-parse-errors.rs:13:45
5757 |
5858LL | asm!("mov eax, 2" : "={eax}"(foo) : : : struct);
59- | ^^^^^^ expected string literal
59+ | ^^^^^^ not a string literal
6060
6161error: inline assembly must be a string literal
6262 --> $DIR/asm-parse-errors.rs:14:10
0 commit comments