error: unused import: `std::option` | |
--> $DIR/bad-lint-cap2.rs:16:5 | |
| | |
LL | use std::option; //~ ERROR | |
| ^^^^^^^^^^^ | |
| | |
note: lint level defined here | |
--> $DIR/bad-lint-cap2.rs:14:9 | |
| | |
LL | #![deny(warnings)] | |
| ^^^^^^^^ | |
= note: #[deny(unused_imports)] implied by #[deny(warnings)] | |
error: aborting due to previous error | |