mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
21 lines
474 B
Plaintext
21 lines
474 B
Plaintext
error: requires at least a template string argument
|
|
--> $DIR/global-asm.rs:4:5
|
|
|
|
|
LL | global_asm!();
|
|
| ^^^^^^^^^^^^^
|
|
|
|
error: expected expression, found keyword `struct`
|
|
--> $DIR/global-asm.rs:5:17
|
|
|
|
|
LL | global_asm!(struct);
|
|
| ^^^^^^ expected expression
|
|
|
|
error: asm template must be a string literal
|
|
--> $DIR/global-asm.rs:6:17
|
|
|
|
|
LL | global_asm!(123);
|
|
| ^^^
|
|
|
|
error: aborting due to 3 previous errors
|
|
|