error: expected `;`, found `println`
--> tests/compile_fail/template_syntax_error.rs:9:46
|
9 | let bad_syntax: u32 = #({id}_u32) + 1
| ^ help: add `;` here
10 | println!("This is wrong too");
| ------- unexpected token
warning: unused variable: `bad_syntax`
--> tests/compile_fail/template_syntax_error.rs:9:13
|
9 | let bad_syntax: u32 = #({id}_u32) + 1
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bad_syntax`
|
= note: `#[warn(unused_variables)]` on by default