]>
Commit | Line | Data |
---|---|---|
72b1a166 | 1 | warning: deprecated `#[macro_use]` attribute used to import macros should be replaced at use sites with a `use` item to import the macro instead |
0731742a | 2 | --> $DIR/macro-use-warned-against.rs:7:1 |
8faf50e0 | 3 | | |
532ac7d7 | 4 | LL | #[macro_use] |
8faf50e0 XL |
5 | | ^^^^^^^^^^^^ |
6 | | | |
72b1a166 | 7 | note: the lint level is defined here |
0731742a | 8 | --> $DIR/macro-use-warned-against.rs:5:9 |
8faf50e0 | 9 | | |
b7449926 XL |
10 | LL | #![warn(macro_use_extern_crate, unused)] |
11 | | ^^^^^^^^^^^^^^^^^^^^^^ | |
8faf50e0 XL |
12 | |
13 | warning: unused `#[macro_use]` import | |
0731742a | 14 | --> $DIR/macro-use-warned-against.rs:9:1 |
8faf50e0 | 15 | | |
532ac7d7 | 16 | LL | #[macro_use] |
8faf50e0 XL |
17 | | ^^^^^^^^^^^^ |
18 | | | |
72b1a166 | 19 | note: the lint level is defined here |
0731742a | 20 | --> $DIR/macro-use-warned-against.rs:5:33 |
8faf50e0 | 21 | | |
b7449926 XL |
22 | LL | #![warn(macro_use_extern_crate, unused)] |
23 | | ^^^^^^ | |
416331ca | 24 | = note: `#[warn(unused_imports)]` implied by `#[warn(unused)]` |
8faf50e0 | 25 | |
72b1a166 FG |
26 | warning: 2 warnings emitted |
27 |