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