mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 03:25:55 +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
|
|
|