summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/issues/issue-17383.rs
blob: 7bf0e64f2c0a30eecf3963b7bee955d7059ce399 (plain)
1
2
3
4
5
6
7
enum X {
    A = 3,
    //~^ ERROR custom discriminant values are not allowed in enums with tuple or struct variants
    B(usize)
}

fn main() {}