Auto merge of #125076 - compiler-errors:alias-term, r=lcnr
Split out `ty::AliasTerm` from `ty::AliasTy` Splitting out `AliasTerm` (for use in project and normalizes goals) and `AliasTy` (for use in `ty::Alias`) r? lcnr
This commit is contained in:
commit
34582118af
73 changed files with 695 additions and 458 deletions
|
@ -215,7 +215,7 @@ impl<'tcx> TypeVisitor<TyCtxt<'tcx>> for ImplTraitInTraitFinder<'_, 'tcx> {
|
|||
self.predicates.push(
|
||||
ty::Binder::bind_with_vars(
|
||||
ty::ProjectionPredicate {
|
||||
projection_ty: shifted_alias_ty,
|
||||
projection_term: shifted_alias_ty.into(),
|
||||
term: default_ty.into(),
|
||||
},
|
||||
self.bound_vars,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue