1error[E0658]: custom discriminant values are not allowed in enums with tuple or struct variants
2  --> $DIR/issue-17383.rs:2:9
3   |
4LL |     A = 3,
5   |         ^ disallowed custom discriminant
6LL |
7LL |     B(usize)
8   |     -------- tuple variant defined here
9   |
10   = note: see issue #60553 <https://github.com/rust-lang/rust/issues/60553> for more information
11   = help: add `#![feature(arbitrary_enum_discriminant)]` to the crate attributes to enable
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0658`.
16