s/MatchCx/TypeCx/

This commit is contained in:
Nadrieril 2023-12-15 17:25:11 +01:00
parent 4bcf66f875
commit 3016c29628
6 changed files with 48 additions and 48 deletions

View file

@ -20,7 +20,7 @@ use smallvec::SmallVec;
use crate::constructor::{
IntRange, MaybeInfiniteInt, OpaqueId, RangeEnd, Slice, SliceKind, VariantVisibility,
};
use crate::MatchCx;
use crate::TypeCx;
use crate::constructor::Constructor::*;
@ -863,7 +863,7 @@ impl<'p, 'tcx> RustcMatchCheckCtxt<'p, 'tcx> {
}
}
impl<'p, 'tcx> MatchCx for RustcMatchCheckCtxt<'p, 'tcx> {
impl<'p, 'tcx> TypeCx for RustcMatchCheckCtxt<'p, 'tcx> {
type Ty = Ty<'tcx>;
type VariantIdx = VariantIdx;
type StrLit = Const<'tcx>;