]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-17383.stderr
Add 'compiler/rustc_codegen_cranelift/' from commit '793d26047f994e23415f8f6bb5686ff2...
[rust.git] / src / test / ui / parser / issue-17383.stderr
1 error[E0658]: custom discriminant values are not allowed in enums with tuple or struct variants
2   --> $DIR/issue-17383.rs:2:9
3    |
4 LL |     A = 3,
5    |         ^ disallowed custom discriminant
6 LL |
7 LL |     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
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0658`.