DEBSOURCES
Skip Quicknav
sources / rustc / 1.85.0%2Bdfsg3-1 / tests / ui / type / type-check / issue-41314.rs
12345678910
enum X { Y(u32) } fn main() { match X::Y(0) { X::Y { number } => {} //~^ ERROR tuple variant `X::Y` written as struct variant } }