summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/misspelled-macro-rules.rs
blob: 4290e6e5e4cb912be2b815fdf0f5043411df3033 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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() {}