1 error[E0658]: discriminants on non-unit variants are experimental
2 --> $DIR/feature-gate-arbitrary_enum_discriminant.rs:6:13
7 = note: see issue #60553 <https://github.com/rust-lang/rust/issues/60553> for more information
8 = help: add `#![feature(arbitrary_enum_discriminant)]` to the crate attributes to enable
10 error[E0658]: discriminants on non-unit variants are experimental
11 --> $DIR/feature-gate-arbitrary_enum_discriminant.rs:8:14
16 = note: see issue #60553 <https://github.com/rust-lang/rust/issues/60553> for more information
17 = help: add `#![feature(arbitrary_enum_discriminant)]` to the crate attributes to enable
19 error[E0658]: custom discriminant values are not allowed in enums with tuple or struct variants
20 --> $DIR/feature-gate-arbitrary_enum_discriminant.rs:4:10
23 | ^ disallowed custom discriminant
26 | ----------- tuple variant defined here
29 | ------------ struct variant defined here
31 = note: see issue #60553 <https://github.com/rust-lang/rust/issues/60553> for more information
32 = help: add `#![feature(arbitrary_enum_discriminant)]` to the crate attributes to enable
34 error: aborting due to 3 previous errors
36 For more information about this error, try `rustc --explain E0658`.