Project Binder and Predicate from Interner trait
This commit is contained in:
parent
e8d152d2f4
commit
38c522c693
2 changed files with 4 additions and 0 deletions
|
@ -100,9 +100,11 @@ impl<'tcx> Interner for TyCtxt<'tcx> {
|
|||
type AdtDef = ty::AdtDef<'tcx>;
|
||||
type SubstsRef = ty::SubstsRef<'tcx>;
|
||||
type DefId = DefId;
|
||||
type Binder<T> = Binder<'tcx, T>;
|
||||
type Ty = Ty<'tcx>;
|
||||
type Const = ty::Const<'tcx>;
|
||||
type Region = Region<'tcx>;
|
||||
type Predicate = Predicate<'tcx>;
|
||||
type TypeAndMut = TypeAndMut<'tcx>;
|
||||
type Mutability = hir::Mutability;
|
||||
type Movability = hir::Movability;
|
||||
|
|
|
@ -32,9 +32,11 @@ pub trait Interner {
|
|||
type AdtDef: Clone + Debug + Hash + PartialEq + Eq + PartialOrd + Ord;
|
||||
type SubstsRef: Clone + Debug + Hash + PartialEq + Eq + PartialOrd + Ord;
|
||||
type DefId: Clone + Debug + Hash + PartialEq + Eq + PartialOrd + Ord;
|
||||
type Binder<T>;
|
||||
type Ty: Clone + Debug + Hash + PartialEq + Eq + PartialOrd + Ord;
|
||||
type Const: Clone + Debug + Hash + PartialEq + Eq + PartialOrd + Ord;
|
||||
type Region: Clone + Debug + Hash + PartialEq + Eq + PartialOrd + Ord;
|
||||
type Predicate;
|
||||
type TypeAndMut: Clone + Debug + Hash + PartialEq + Eq + PartialOrd + Ord;
|
||||
type Mutability: Clone + Debug + Hash + PartialEq + Eq + PartialOrd + Ord;
|
||||
type Movability: Clone + Debug + Hash + PartialEq + Eq + PartialOrd + Ord;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue