]> git.proxmox.com Git - rustc.git/blame - src/test/ui/rust-2018/macro-use-warned-against.stderr
New upstream version 1.49.0+dfsg1
[rustc.git] / src / test / ui / rust-2018 / macro-use-warned-against.stderr
CommitLineData
72b1a166 1warning: 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 4LL | #[macro_use]
8faf50e0
XL
5 | ^^^^^^^^^^^^
6 |
72b1a166 7note: the lint level is defined here
0731742a 8 --> $DIR/macro-use-warned-against.rs:5:9
8faf50e0 9 |
b7449926
XL
10LL | #![warn(macro_use_extern_crate, unused)]
11 | ^^^^^^^^^^^^^^^^^^^^^^
8faf50e0
XL
12
13warning: unused `#[macro_use]` import
0731742a 14 --> $DIR/macro-use-warned-against.rs:9:1
8faf50e0 15 |
532ac7d7 16LL | #[macro_use]
8faf50e0
XL
17 | ^^^^^^^^^^^^
18 |
72b1a166 19note: the lint level is defined here
0731742a 20 --> $DIR/macro-use-warned-against.rs:5:33
8faf50e0 21 |
b7449926
XL
22LL | #![warn(macro_use_extern_crate, unused)]
23 | ^^^^^^
416331ca 24 = note: `#[warn(unused_imports)]` implied by `#[warn(unused)]`
8faf50e0 25
72b1a166
FG
26warning: 2 warnings emitted
27