fork/rust

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

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

1.40.0
272 B14 linesraw
1error: function is never used: `foo`
2  --> $DIR/fail-no-dead-code.rs:4:1
3   |
4LL | fn foo() {
5   | ^^^^^^^^
6   |
7note: lint level defined here
8  --> $DIR/fail-no-dead-code.rs:1:9
9   |
10LL | #![deny(dead_code)]
11   |         ^^^^^^^^^
12
13error: aborting due to previous error
14