rust/tests/ui/parser/misspelled-macro-rules.fixed

14 lines
205 B
Rust
Raw Normal View History

// 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() {}