]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/misspelled-macro-rules.fixed
Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24
[rust.git] / tests / ui / parser / misspelled-macro-rules.fixed
1 // Regression test for issue #91227.
2
3 // run-rustfix
4
5 #![allow(unused_macros)]
6
7 macro_rules! thing {
8 //~^ ERROR: expected one of
9 //~| HELP: perhaps you meant to define a macro
10     () => {}
11 }
12
13 fn main() {}