DEBSOURCES
Skip Quicknav
sources / rustc / 1.85.0%2Bdfsg3-1 / tests / ui / pattern / pat-struct-field-expr-has-type.rs
123456789
struct S { f: u8, } fn main() { match (S { f: 42 }) { S { f: Ok(_) } => {} //~ ERROR mismatched types } }