]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/misspelled-macro-rules.fixed
Rollup merge of #106661 - mjguzik:linux_statx, r=Mark-Simulacrum
[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() {}