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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
206 B
Rust
Raw Normal View History

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