]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/missing-bang-in-decl.fixed
Rollup merge of #106692 - eggyal:mv-binary_heap.rs-binary_heap/mod.rs, r=Mark-Simulacrum
[rust.git] / tests / ui / macros / missing-bang-in-decl.fixed
1 // run-rustfix
2
3 #![allow(unused_macros)]
4
5 macro_rules! foo {
6     //~^ ERROR expected `!` after `macro_rules`
7     () => {};
8 }
9
10 macro_rules! bar {
11     //~^ ERROR expected `!` after `macro_rules`
12     //~^^ ERROR macro names aren't followed by a `!`
13     () => {};
14 }
15
16 fn main() {}