fix various subst_identity vs skip_binder
This commit is contained in:
parent
f29a334c90
commit
6e969ea85e
13 changed files with 29 additions and 25 deletions
|
@ -2066,7 +2066,7 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
|
|||
};
|
||||
|
||||
self.one_bound_for_assoc_type(
|
||||
|| traits::supertraits(tcx, ty::Binder::dummy(trait_ref.skip_binder())),
|
||||
|| traits::supertraits(tcx, ty::Binder::dummy(trait_ref.subst_identity())),
|
||||
|| "Self".to_string(),
|
||||
assoc_ident,
|
||||
span,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue