2018-03-05 09:21:11 +00:00
|
|
|
error[E0081]: discriminant value `3` already exists
|
2021-07-15 19:25:11 +00:00
|
|
|
--> $DIR/E0081.rs:4:9
|
2018-02-08 03:35:35 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | P = 3,
|
2018-03-05 09:21:11 +00:00
|
|
|
| - first use of `3`
|
2021-07-15 19:25:11 +00:00
|
|
|
LL |
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | X = 3,
|
2018-03-05 09:21:11 +00:00
|
|
|
| ^ enum already has `3`
|
2018-02-08 03:35:35 +00:00
|
|
|
|
2021-07-15 19:25:11 +00:00
|
|
|
error[E0081]: discriminant value `1` already exists
|
|
|
|
--> $DIR/E0081.rs:14:9
|
|
|
|
|
|
|
|
|
LL | P = 257,
|
|
|
|
| --- first use of `1` (overflowed from `257`)
|
|
|
|
LL |
|
|
|
|
LL | X = 513,
|
|
|
|
| ^^^ enum already has `1` (overflowed from `513`)
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2018-02-08 03:35:35 +00:00
|
|
|
|
2018-03-03 14:59:40 +00:00
|
|
|
For more information about this error, try `rustc --explain E0081`.
|