2021-04-11 14:51:28 -05:00
|
|
|
error: requires at least a template string argument
|
2018-12-04 13:10:32 -06:00
|
|
|
--> $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
|
|
|
| ^^^^^^^^^^^^^
|
2018-12-04 13:10:32 -06: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);
|
2018-12-04 13:10:32 -06:00
|
|
|
| ^^^^^^ expected expression
|
|
|
|
|
2021-04-11 14:51:28 -05:00
|
|
|
error: asm template must be a string literal
|
2018-12-04 13:10:32 -06:00
|
|
|
--> $DIR/global-asm.rs:6:17
|
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | global_asm!(123);
|
2018-12-04 13:10:32 -06:00
|
|
|
| ^^^
|
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|