Closed
Description
I tried this code:
#![feature(global_asm)]
global_asm!{r#"
// ${num}
/* ${num} */
"#}
I expected to see this happen: Compiles without error (on nightly)
Instead, this happened (not sure if this is intended behavior or a bug):
error: there is no argument named `num`
--> src/lib.rs:3:5
|
3 | // ${num}
| ^^^^^
error: there is no argument named `num`
--> src/lib.rs:4:5
|
4 | /* ${num} */
| ^^^^^