rust/tests/ui/macros/macro-invalid-fragment-spec.rs
2023-01-11 09:32:08 +00:00

9 lines
112 B
Rust

macro_rules! foo(
($x:foo) => ()
//~^ ERROR invalid fragment specifier
);
fn main() {
foo!(foo);
}