Function rustc_mir_build::thir::pattern::check_match::adt_defined_here[][src]

fn adt_defined_here<'p, 'tcx>(
    cx: &MatchCheckCtxt<'p, 'tcx>,
    err: &mut DiagnosticBuilder<'_>,
    ty: Ty<'tcx>,
    witnesses: &[DeconstructedPat<'p, 'tcx>]
)
Expand description

Point at the definition of non-covered enum variants.