2020-03-07 19:02:32 +03:00
|
|
|
warning: deprecated `#[macro_use]` attribute used to import macros should be replaced at use sites with a `use` item to import the macro instead
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/macro-use-warned-against.rs:7:1
|
2018-07-11 14:25:29 -07:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | #[macro_use]
|
2018-07-11 14:25:29 -07:00
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
2020-01-22 23:57:38 +00:00
|
|
|
note: the lint level is defined here
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/macro-use-warned-against.rs:5:9
|
2018-07-11 14:25:29 -07:00
|
|
|
|
|
2018-07-31 15:45:11 -07:00
|
|
|
LL | #![warn(macro_use_extern_crate, unused)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
2018-07-11 14:25:29 -07:00
|
|
|
|
|
|
|
warning: unused `#[macro_use]` import
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/macro-use-warned-against.rs:9:1
|
2018-07-11 14:25:29 -07:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | #[macro_use]
|
2018-07-11 14:25:29 -07:00
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
2020-01-22 23:57:38 +00:00
|
|
|
note: the lint level is defined here
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/macro-use-warned-against.rs:5:33
|
2018-07-11 14:25:29 -07:00
|
|
|
|
|
2018-07-31 15:45:11 -07:00
|
|
|
LL | #![warn(macro_use_extern_crate, unused)]
|
|
|
|
| ^^^^^^
|
2019-07-16 22:17:38 +02:00
|
|
|
= note: `#[warn(unused_imports)]` implied by `#[warn(unused)]`
|
2018-07-11 14:25:29 -07:00
|
|
|
|
2020-03-11 16:30:09 +01:00
|
|
|
warning: 2 warnings emitted
|
|
|
|
|