fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
342 B15 linesraw
1error: unused import: `std::option`
2  --> $DIR/bad-lint-cap2.rs:6:5
3   |
4LL | use std::option;
5   |     ^^^^^^^^^^^
6   |
7note: lint level defined here
8  --> $DIR/bad-lint-cap2.rs:4:9
9   |
10LL | #![deny(warnings)]
11   |         ^^^^^^^^
12   = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
13
14error: aborting due to previous error
15