Function rustc_mir_build::thir::pattern::check_match::adt_defined_here
source · fn adt_defined_here<'p, 'tcx>(
cx: &MatchCheckCtxt<'p, 'tcx>,
err: &mut Diagnostic,
ty: Ty<'tcx>,
witnesses: &[DeconstructedPat<'p, 'tcx>]
)
Expand description
Point at the definition of non-covered enum
variants.