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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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 12:03:44 +00:00
LL | global_asm!();
2021-10-14 18:28:28 +00:00
| ^^^^^^^^^^^^^
error: expected expression, found keyword `struct`
--> $DIR/global-asm.rs:5:17
|
2019-03-09 12:03:44 +00:00
LL | global_asm!(struct);
| ^^^^^^ expected expression
error: asm template must be a string literal
--> $DIR/global-asm.rs:6:17
|
2019-03-09 12:03:44 +00:00
LL | global_asm!(123);
| ^^^
error: aborting due to 3 previous errors