]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/unused/unused-macros-malformed-rule.stderr
Rollup merge of #106570 - Xaeroxe:div-duration-tests, r=JohnTitor
[rust.git] / tests / ui / lint / unused / unused-macros-malformed-rule.stderr
1 error: macro rhs must be delimited
2   --> $DIR/unused-macros-malformed-rule.rs:5:11
3    |
4 LL |     () => 0;
5    |           ^
6
7 error: macro rhs must be delimited
8   --> $DIR/unused-macros-malformed-rule.rs:10:11
9    |
10 LL |     () => 0;
11    |           ^
12
13 error: unused macro definition: `foo`
14   --> $DIR/unused-macros-malformed-rule.rs:3:14
15    |
16 LL | macro_rules! foo {
17    |              ^^^
18    |
19 note: the lint level is defined here
20   --> $DIR/unused-macros-malformed-rule.rs:1:9
21    |
22 LL | #![deny(unused_macros)]
23    |         ^^^^^^^^^^^^^
24
25 error: aborting due to 3 previous errors
26