fork/rust

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

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

1.40.0
470 B20 linesraw
1error: unknown lint: `not_a_real_lint`
2  --> $DIR/lint-unknown-lint.rs:3:10
3   |
4LL | #![allow(not_a_real_lint)]
5   |          ^^^^^^^^^^^^^^^
6   |
7note: lint level defined here
8  --> $DIR/lint-unknown-lint.rs:1:9
9   |
10LL | #![deny(unknown_lints)]
11   |         ^^^^^^^^^^^^^
12
13error: unknown lint: `dead_cod`
14  --> $DIR/lint-unknown-lint.rs:5:9
15   |
16LL | #![deny(dead_cod)]
17   |         ^^^^^^^^ help: did you mean: `dead_code`
18
19error: aborting due to 2 previous errors
20