summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/issues/issue-17383.stderr
blob: 265d6e14866149a674cc7a6cb9818b7628463709 (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: see issue #60553 <https://github.com/rust-lang/rust/issues/60553> for more information
   = 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`.