1 warning: deprecated `#[macro_use]` directive used to import macros should be replaced at use sites with a `use` statement to import the macro instead
2 --> $DIR/macro-use-warned-against.rs:18:1
4 LL | #[macro_use] //~ WARN should be replaced at use sites with a `use` statement
7 note: lint level defined here
8 --> $DIR/macro-use-warned-against.rs:15:9
10 LL | #![warn(rust_2018_idioms, unused)]
12 = note: #[warn(macro_use_extern_crate)] implied by #[warn(rust_2018_idioms)]
14 warning: unused `#[macro_use]` import
15 --> $DIR/macro-use-warned-against.rs:20:1
17 LL | #[macro_use] //~ WARN unused `#[macro_use]`
20 note: lint level defined here
21 --> $DIR/macro-use-warned-against.rs:15:27
23 LL | #![warn(rust_2018_idioms, unused)]
25 = note: #[warn(unused_imports)] implied by #[warn(unused)]