``` rust #![feature(macro_rules)] macro_rules! foo { () => { ($e) } } foo!{} ``` ``` macro-variable.rs:3:28: 3:29 error: unknown macro variable `e` macro-variable.rs:3 macro_rules! foo { () => { ($e) } } ^ ``` and if the RHS of the macro is changed to just `=> { $e }` ``` macro-variable.rs:1:1: 1:1 error: unknown macro variable `e` macro-variable.rs:1 #![feature(macro_rules)] ^ ``` Preferably this would put the error snake under the whole `$...` expression too.