fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

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