fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
394 B20 linesraw
1error: function `a` is never used
2  --> $DIR/in-closure.rs:7:12
3   |
4LL |         fn a() {}
5   |            ^
6   |
7note: the lint level is defined here
8  --> $DIR/in-closure.rs:3:9
9   |
10LL | #![deny(dead_code)]
11   |         ^^^^^^^^^
12
13error: constant `A` is never used
14  --> $DIR/in-closure.rs:13:11
15   |
16LL |     const A: usize = 1;
17   |           ^
18
19error: aborting due to 2 previous errors
20