s/MatchCx/TypeCx/
This commit is contained in:
parent
4bcf66f875
commit
3016c29628
6 changed files with 48 additions and 48 deletions
|
@ -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>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue