]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/missing-bang-in-decl.stderr
Rollup merge of #106570 - Xaeroxe:div-duration-tests, r=JohnTitor
[rust.git] / tests / ui / macros / missing-bang-in-decl.stderr
1 error: expected `!` after `macro_rules`
2   --> $DIR/missing-bang-in-decl.rs:5:1
3    |
4 LL | macro_rules foo {
5    | ^^^^^^^^^^^ help: add a `!`: `macro_rules!`
6
7 error: expected `!` after `macro_rules`
8   --> $DIR/missing-bang-in-decl.rs:10:1
9    |
10 LL | macro_rules bar! {
11    | ^^^^^^^^^^^ help: add a `!`: `macro_rules!`
12
13 error: macro names aren't followed by a `!`
14   --> $DIR/missing-bang-in-decl.rs:10:16
15    |
16 LL | macro_rules bar! {
17    |                ^ help: remove the `!`
18
19 error: aborting due to 3 previous errors
20