fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
394 B14 linesraw
1error: unused variable: `unused`
2  --> $DIR/lint-removed-allow.rs:8:17
3   |
4LL | fn main() { let unused = (); }
5   |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_unused`
6   |
7note: the lint level is defined here
8  --> $DIR/lint-removed-allow.rs:7:8
9   |
10LL | #[deny(unused_variables)]
11   |        ^^^^^^^^^^^^^^^^
12
13error: aborting due to previous error
14