]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/global-asm.stderr
Rollup merge of #106950 - the8472:fix-splice-miri, r=cuviper
[rust.git] / tests / ui / macros / global-asm.stderr
1 error: requires at least a template string argument
2   --> $DIR/global-asm.rs:4:5
3    |
4 LL |     global_asm!();
5    |     ^^^^^^^^^^^^^
6
7 error: expected expression, found keyword `struct`
8   --> $DIR/global-asm.rs:5:17
9    |
10 LL |     global_asm!(struct);
11    |                 ^^^^^^ expected expression
12
13 error: asm template must be a string literal
14   --> $DIR/global-asm.rs:6:17
15    |
16 LL |     global_asm!(123);
17    |                 ^^^
18
19 error: aborting due to 3 previous errors
20