rust/tests/ui/parser/misspelled-macro-rules.rs
2023-01-11 09:32:08 +00:00

14 lines
205 B
Rust

// Regression test for issue #91227.
// run-rustfix
#![allow(unused_macros)]
marco_rules! thing {
//~^ ERROR: expected one of
//~| HELP: perhaps you meant to define a macro
() => {}
}
fn main() {}