2014-09-20 15:29:26 -05:00
|
|
|
enum X {
|
2019-01-12 01:12:29 -06:00
|
|
|
A = 3,
|
2019-05-09 16:08:55 -05:00
|
|
|
//~^ ERROR custom discriminant values are not allowed in enums with tuple or struct variants
|
2019-01-12 01:12:29 -06:00
|
|
|
B(usize)
|
2014-09-20 15:29:26 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|