rust/tests/ui/macros/issue-6596-1.rs
2023-01-11 09:32:08 +00:00

11 lines
147 B
Rust

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