fork/rust

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

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

master
354 B19 linesraw
1warning: variants `B` and `C` are never constructed
2  --> $DIR/const-and-self.rs:33:5
3   |
4LL | enum E {
5   |      - variants in this enum
6LL |     A,
7LL |     B,
8   |     ^
9LL |     C,
10   |     ^
11   |
12note: the lint level is defined here
13  --> $DIR/const-and-self.rs:3:9
14   |
15LL | #![warn(dead_code)]
16   |         ^^^^^^^^^
17
18warning: 1 warning emitted
19