fork/rust

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

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

1.44.0
675 B29 linesraw
1error[E0081]: discriminant value `1` already exists
2  --> $DIR/issue-15524.rs:5:9
3   |
4LL |     A = 1,
5   |         - first use of `1`
6LL |     B = 1,
7   |         ^ enum already has `1`
8
9error[E0081]: discriminant value `1` already exists
10  --> $DIR/issue-15524.rs:8:5
11   |
12LL |     A = 1,
13   |         - first use of `1`
14...
15LL |     D,
16   |     ^ enum already has `1`
17
18error[E0081]: discriminant value `1` already exists
19  --> $DIR/issue-15524.rs:11:9
20   |
21LL |     A = 1,
22   |         - first use of `1`
23...
24LL |     E = N,
25   |         ^ enum already has `1`
26
27error: aborting due to 3 previous errors
28
29For more information about this error, try `rustc --explain E0081`.