rust/tests/ui/parser/misspelled-macro-rules.fixed
2024-02-16 20:02:50 +00:00

14 lines
206 B
Rust

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