1 error: macro requires a string literal as an argument
2 --> $DIR/asm-parse-errors.rs:4:5
5 | ^^^^^^^ string literal required
7 error: expected string literal
8 --> $DIR/asm-parse-errors.rs:5:18
10 LL | asm!("nop" : struct);
11 | ^^^^^^ not a string literal
13 error: expected string literal
14 --> $DIR/asm-parse-errors.rs:6:30
16 LL | asm!("mov %eax, $$0x2" : struct);
17 | ^^^^^^ not a string literal
19 error: expected `(`, found keyword `struct`
20 --> $DIR/asm-parse-errors.rs:7:39
22 LL | asm!("mov %eax, $$0x2" : "={eax}" struct);
25 error: expected expression, found keyword `struct`
26 --> $DIR/asm-parse-errors.rs:8:39
28 LL | asm!("mov %eax, $$0x2" : "={eax}"(struct));
29 | ^^^^^^ expected expression
31 error: expected string literal
32 --> $DIR/asm-parse-errors.rs:9:44
34 LL | asm!("in %dx, %al" : "={al}"(result) : struct);
35 | ^^^^^^ not a string literal
37 error: expected `(`, found keyword `struct`
38 --> $DIR/asm-parse-errors.rs:10:51
40 LL | asm!("in %dx, %al" : "={al}"(result) : "{dx}" struct);
43 error: expected expression, found keyword `struct`
44 --> $DIR/asm-parse-errors.rs:11:51
46 LL | asm!("in %dx, %al" : "={al}"(result) : "{dx}"(struct));
47 | ^^^^^^ expected expression
49 error: expected string literal
50 --> $DIR/asm-parse-errors.rs:12:36
52 LL | asm!("mov $$0x200, %eax" : : : struct);
53 | ^^^^^^ not a string literal
55 error: expected string literal
56 --> $DIR/asm-parse-errors.rs:13:45
58 LL | asm!("mov eax, 2" : "={eax}"(foo) : : : struct);
59 | ^^^^^^ not a string literal
61 error: inline assembly must be a string literal
62 --> $DIR/asm-parse-errors.rs:14:10
67 error: aborting due to 11 previous errors