fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.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