blob: 567664cd73d32d249b6e7c3e5e2bdf682de8770d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
warning: rule #3 of macro `local_attr` is never used
--> $DIR/macro-rules-attr.rs:43:9
|
LL | attr() {} => {
| ^^ ^^
|
note: the lint level is defined here
--> $DIR/macro-rules-attr.rs:4:9
|
LL | #![warn(unused)]
| ^^^^^^
= note: `#[warn(unused_macro_rules)]` implied by `#[warn(unused)]`
warning: rule #5 of macro `local_attr` is never used
--> $DIR/macro-rules-attr.rs:49:5
|
LL | {} => {
| ^^
warning: 2 warnings emitted
|