fork/rust

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

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

1.44.0
366 B14 linesraw
1error: unused variable: `a`
2  --> $DIR/issue-22599.rs:8:19
3   |
4LL |     v = match 0 { a => 0 };
5   |                   ^ help: if this is intentional, prefix it with an underscore: `_a`
6   |
7note: the lint level is defined here
8  --> $DIR/issue-22599.rs:1:9
9   |
10LL | #![deny(unused_variables)]
11   |         ^^^^^^^^^^^^^^^^
12
13error: aborting due to previous error
14