2018-07-11 21:25:29 +00:00
|
|
|
warning: deprecated `#[macro_use]` directive used to import macros should be replaced at use sites with a `use` statement to import the macro instead
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/macro-use-warned-against.rs:7:1
|
2018-07-11 21:25:29 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | #[macro_use]
|
2018-07-11 21:25:29 +00:00
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: lint level defined here
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/macro-use-warned-against.rs:5:9
|
2018-07-11 21:25:29 +00:00
|
|
|
|
|
2018-07-31 22:45:11 +00:00
|
|
|
LL | #![warn(macro_use_extern_crate, unused)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
2018-07-11 21:25:29 +00:00
|
|
|
|
|
|
|
warning: unused `#[macro_use]` import
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/macro-use-warned-against.rs:9:1
|
2018-07-11 21:25:29 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | #[macro_use]
|
2018-07-11 21:25:29 +00:00
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: lint level defined here
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/macro-use-warned-against.rs:5:33
|
2018-07-11 21:25:29 +00:00
|
|
|
|
|
2018-07-31 22:45:11 +00:00
|
|
|
LL | #![warn(macro_use_extern_crate, unused)]
|
|
|
|
| ^^^^^^
|
2018-07-11 21:25:29 +00:00
|
|
|
= note: #[warn(unused_imports)] implied by #[warn(unused)]
|
|
|
|
|