]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-17383.rs
Merge commit 'bf1c6f9871f430e284b17aa44059e0d0395e28a6' into clippyup
[rust.git] / src / test / ui / parser / issue-17383.rs
1 enum X {
2     A = 3,
3     //~^ ERROR custom discriminant values are not allowed in enums with tuple or struct variants
4     B(usize)
5 }
6
7 fn main() {}