rust/tests/ui/macros/global-asm.stderr

21 lines
474 B
Plaintext
Raw Normal View History

error: requires at least a template string argument
--> $DIR/global-asm.rs:4:5
|
2019-03-09 06:03:44 -06:00
LL | global_asm!();
2021-10-14 13:28:28 -05:00
| ^^^^^^^^^^^^^
error: expected expression, found keyword `struct`
--> $DIR/global-asm.rs:5:17
|
2019-03-09 06:03:44 -06:00
LL | global_asm!(struct);
| ^^^^^^ expected expression
error: asm template must be a string literal
--> $DIR/global-asm.rs:6:17
|
2019-03-09 06:03:44 -06:00
LL | global_asm!(123);
| ^^^
error: aborting due to 3 previous errors