fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
763 B25 linesraw
1warning: 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   |
4LL | #[macro_use]
5   | ^^^^^^^^^^^^
6   |
7note: lint level 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: lint level 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