fork/rust

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

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

1.40.0
485 B20 linesraw
1warning: unknown lint: `FOO_BAR`
2  --> $DIR/not_found.rs:6:9
3   |
4LL | #[allow(FOO_BAR)]
5   |         ^^^^^^^
6   |
7   = note: `#[warn(unknown_lints)]` on by default
8
9warning: unknown lint: `DEAD_CODE`
10  --> $DIR/not_found.rs:8:8
11   |
12LL | #[warn(DEAD_CODE)]
13   |        ^^^^^^^^^ help: did you mean: `dead_code`
14
15warning: unknown lint: `Warnings`
16  --> $DIR/not_found.rs:10:8
17   |
18LL | #[deny(Warnings)]
19   |        ^^^^^^^^ help: did you mean (notice the capitalization): `warnings`
20