mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 08:05:12 +00:00
22 lines
452 B
Plaintext
22 lines
452 B
Plaintext
error: unused `#[macro_use]` import
|
|
--> $DIR/unused-macro-use.rs:3:1
|
|
|
|
|
LL | #[macro_use]
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/unused-macro-use.rs:1:9
|
|
|
|
|
LL | #![deny(unused)]
|
|
| ^^^^^^
|
|
= note: `#[deny(unused_imports)]` implied by `#[deny(unused)]`
|
|
|
|
error: unused `#[macro_use]` import
|
|
--> $DIR/unused-macro-use.rs:7:5
|
|
|
|
|
LL | panic
|
|
| ^^^^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|