mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
27 lines
642 B
Plaintext
27 lines
642 B
Plaintext
error: unused import: `a::x`
|
|
--> $DIR/lint-directives-on-use-items-issue-10534.rs:12:9
|
|
|
|
|
LL | use a::x;
|
|
| ^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/lint-directives-on-use-items-issue-10534.rs:1:9
|
|
|
|
|
LL | #![deny(unused_imports)]
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
error: unused import: `a::y`
|
|
--> $DIR/lint-directives-on-use-items-issue-10534.rs:21:9
|
|
|
|
|
LL | use a::y;
|
|
| ^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/lint-directives-on-use-items-issue-10534.rs:20:12
|
|
|
|
|
LL | #[deny(unused_imports)]
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|