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