summary refs log tree commit diff
path: root/src/test/ui/parser/issue-17383.stderr
blob: 6a25c743e776637fbdda10319b7338c36b3a1d89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0658]: custom discriminant values are not allowed in enums with tuple or struct variants
  --> $DIR/issue-17383.rs:2:9
   |
LL |     A = 3,
   |         ^ disallowed custom discriminant
LL |
LL |     B(usize)
   |     -------- tuple variant defined here
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/60553
   = help: add `#![feature(arbitrary_enum_discriminant)]` to the crate attributes to enable

error: aborting due to previous error

For more information about this error, try `rustc --explain E0658`.