rust/tests/ui/lint/bad-lint-cap2.stderr

16 lines
349 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error: unused import: `std::option`
2018-12-25 09:56:47 -06:00
--> $DIR/bad-lint-cap2.rs:6:5
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | use std::option;
| ^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
|
2020-01-22 17:57:38 -06:00
note: the lint level is defined here
2018-12-25 09:56:47 -06:00
--> $DIR/bad-lint-cap2.rs:4:9
2018-08-08 07:28:26 -05:00
|
LL | #![deny(warnings)]
| ^^^^^^^^
= note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
2018-08-08 07:28:26 -05:00
error: aborting due to previous error