fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1warning: deprecated `#[macro_use]` attribute used to import macros should be replaced at use sites with a `use` item to import the macro instead 2 --> $DIR/macro-use-warned-against.rs:7:1 3 | 4LL | #[macro_use] 5 | ^^^^^^^^^^^^ 6 | 7note: the lint level is defined here 8 --> $DIR/macro-use-warned-against.rs:5:9 9 | 10LL | #![warn(macro_use_extern_crate, unused)] 11 | ^^^^^^^^^^^^^^^^^^^^^^ 12 13warning: unused `#[macro_use]` import 14 --> $DIR/macro-use-warned-against.rs:9:1 15 | 16LL | #[macro_use] 17 | ^^^^^^^^^^^^ 18 | 19note: the lint level is defined here 20 --> $DIR/macro-use-warned-against.rs:5:33 21 | 22LL | #![warn(macro_use_extern_crate, unused)] 23 | ^^^^^^ 24 = note: `#[warn(unused_imports)]` implied by `#[warn(unused)]` 25 26warning: 2 warnings emitted 27