fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
492 B20 linesraw
1error: unused variable: `x`
2  --> $DIR/issue-17999.rs:5:13
3   |
4LL |         let x = ();
5   |             ^ help: consider prefixing with an underscore: `_x`
6   |
7note: lint level defined here
8  --> $DIR/issue-17999.rs:1:9
9   |
10LL | #![deny(unused_variables)]
11   |         ^^^^^^^^^^^^^^^^
12
13error: unused variable: `a`
14  --> $DIR/issue-17999.rs:7:13
15   |
16LL |             a => {}
17   |             ^ help: consider prefixing with an underscore: `_a`
18
19error: aborting due to 2 previous errors
20