rust/src/test/ui/issues/issue-6596-1.rs
Vadim Petrochenkov d33b3562e5 parser: Do not call bump recursively
Token normalization is merged directly into `bump`.
Special "unknown macro variable" diagnostic for unexpected `$`s is removed as preventing legal code from compiling.
2020-02-17 22:12:39 +03:00

11 lines
147 B
Rust

macro_rules! e {
($inp:ident) => (
$nonexistent
//~^ ERROR expected expression, found `$`
);
}
fn main() {
e!(foo);
}