Function rustc::middle::typeck::check::_match::check_struct_pat_fieldsExperimental [-]  [+] [src]

pub fn check_struct_pat_fields<'a, 'tcx>(pcx: &pat_ctxt<'a, 'tcx>, span: Span, fields: &[Spanned<FieldPat>], struct_fields: &[field<'tcx>], struct_id: DefId, etc: bool)

path is the AST path item naming the type of this struct. fields is the field patterns of the struct pattern. struct_fields describes the type of each field of the struct. struct_id is the ID of the struct. etc is true if the pattern said '...' and false otherwise.