| 
1 | 1 | warning: unused attribute `inline`  | 
2 |  | -  --> $DIR/inert-attr-macro.rs:10:5  | 
 | 2 | +  --> $DIR/inert-attr-macro.rs:11:5  | 
3 | 3 |    |  | 
4 | 4 | LL |     #[inline] foo!();  | 
5 | 5 |    |     ^^^^^^^^^  | 
6 | 6 |    |  | 
7 | 7 | note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `foo`  | 
8 |  | -  --> $DIR/inert-attr-macro.rs:10:15  | 
 | 8 | +  --> $DIR/inert-attr-macro.rs:11:15  | 
9 | 9 |    |  | 
10 | 10 | LL |     #[inline] foo!();  | 
11 | 11 |    |               ^^^  | 
12 | 12 | note: the lint level is defined here  | 
13 |  | -  --> $DIR/inert-attr-macro.rs:3:9  | 
 | 13 | +  --> $DIR/inert-attr-macro.rs:4:9  | 
14 | 14 |    |  | 
15 | 15 | LL | #![warn(unused)]  | 
16 | 16 |    |         ^^^^^^  | 
17 | 17 |    = note: `#[warn(unused_attributes)]` implied by `#[warn(unused)]`  | 
18 | 18 | 
 
  | 
19 | 19 | warning: unused attribute `allow`  | 
20 |  | -  --> $DIR/inert-attr-macro.rs:14:5  | 
 | 20 | +  --> $DIR/inert-attr-macro.rs:15:5  | 
21 | 21 |    |  | 
22 | 22 | LL |     #[allow(warnings)] #[inline] foo!();  | 
23 | 23 |    |     ^^^^^^^^^^^^^^^^^^  | 
24 | 24 |    |  | 
25 | 25 | note: the built-in attribute `allow` will be ignored, since it's applied to the macro invocation `foo`  | 
26 |  | -  --> $DIR/inert-attr-macro.rs:14:34  | 
 | 26 | +  --> $DIR/inert-attr-macro.rs:15:34  | 
27 | 27 |    |  | 
28 | 28 | LL |     #[allow(warnings)] #[inline] foo!();  | 
29 | 29 |    |                                  ^^^  | 
30 | 30 | 
 
  | 
31 | 31 | warning: unused attribute `inline`  | 
32 |  | -  --> $DIR/inert-attr-macro.rs:14:24  | 
 | 32 | +  --> $DIR/inert-attr-macro.rs:15:24  | 
33 | 33 |    |  | 
34 | 34 | LL |     #[allow(warnings)] #[inline] foo!();  | 
35 | 35 |    |                        ^^^^^^^^^  | 
36 | 36 |    |  | 
37 | 37 | note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `foo`  | 
38 |  | -  --> $DIR/inert-attr-macro.rs:14:34  | 
 | 38 | +  --> $DIR/inert-attr-macro.rs:15:34  | 
39 | 39 |    |  | 
40 | 40 | LL |     #[allow(warnings)] #[inline] foo!();  | 
41 | 41 |    |                                  ^^^  | 
 | 
0 commit comments