Function check_match

Source
pub(crate) fn check_match(
    tcx: TyCtxt<'_>,
    def_id: LocalDefId,
) -> Result<(), ErrorGuaranteed>