]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rust-2018/macro-use-warned-against.stderr
Rollup merge of #62351 - RalfJung:drop-in-place, r=cramertj
[rust.git] / src / test / ui / rust-2018 / macro-use-warned-against.stderr
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:7:1
3    |
4 LL | #[macro_use]
5    | ^^^^^^^^^^^^
6    |
7 note: lint level defined here
8   --> $DIR/macro-use-warned-against.rs:5:9
9    |
10 LL | #![warn(macro_use_extern_crate, unused)]
11    |         ^^^^^^^^^^^^^^^^^^^^^^
12
13 warning: unused `#[macro_use]` import
14   --> $DIR/macro-use-warned-against.rs:9:1
15    |
16 LL | #[macro_use]
17    | ^^^^^^^^^^^^
18    |
19 note: lint level defined here
20   --> $DIR/macro-use-warned-against.rs:5:33
21    |
22 LL | #![warn(macro_use_extern_crate, unused)]
23    |                                 ^^^^^^
24    = note: #[warn(unused_imports)] implied by #[warn(unused)]
25