mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
16 lines
351 B
Plaintext
16 lines
351 B
Plaintext
error: unused import: `std::option`
|
|
--> $DIR/bad-lint-cap2.rs:6:5
|
|
|
|
|
LL | use std::option;
|
|
| ^^^^^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/bad-lint-cap2.rs:4:9
|
|
|
|
|
LL | #![deny(warnings)]
|
|
| ^^^^^^^^
|
|
= note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
|
|
|
|
error: aborting due to 1 previous error
|
|
|