rust/tests/ui/rust-2018/macro-use-warned-against.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
801 B
Plaintext
Raw Normal View History

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
|
2019-03-09 15:03:44 +03:00
LL | #[macro_use]
| ^^^^^^^^^^^^
|
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
|
LL | #![warn(macro_use_extern_crate, unused)]
| ^^^^^^^^^^^^^^^^^^^^^^
warning: unused `#[macro_use]` import
2018-12-25 08:56:47 -07:00
--> $DIR/macro-use-warned-against.rs:9:1
|
2019-03-09 15:03:44 +03:00
LL | #[macro_use]
| ^^^^^^^^^^^^
|
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
|
LL | #![warn(macro_use_extern_crate, unused)]
| ^^^^^^
= note: `#[warn(unused_imports)]` implied by `#[warn(unused)]`
warning: 2 warnings emitted