1 error[E0658]: custom discriminant values are not allowed in enums with tuple or struct variants
2 --> $DIR/tag-variant-disr-non-nullary.rs:2:11
5 | ^^^^^^^^ disallowed custom discriminant
8 | ^^^^^^^^ disallowed custom discriminant
10 | ^^^^^^^^ disallowed custom discriminant
11 LL | Black = 0x000000,
12 | ^^^^^^^^ disallowed custom discriminant
13 LL | White = 0xffffff,
14 | ^^^^^^^^ disallowed custom discriminant
16 | ------------ tuple variant defined here
17 LL | Other2(usize, usize),
18 | -------------------- tuple variant defined here
20 = note: see issue #60553 <https://github.com/rust-lang/rust/issues/60553> for more information
21 = help: add `#![feature(arbitrary_enum_discriminant)]` to the crate attributes to enable
23 error: aborting due to previous error
25 For more information about this error, try `rustc --explain E0658`.