rust/tests/ui/issues/issue-42755.rs
2023-01-11 09:32:08 +00:00

8 lines
114 B
Rust

macro_rules! foo {
($($p:vis)*) => {} //~ ERROR repetition matches empty token tree
}
foo!(a);
fn main() {}