File tree 2 files changed +1
-17
lines changed
2 files changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -1655,22 +1655,6 @@ where
1655
1655
}
1656
1656
}
1657
1657
1658
- /// Allows iterating over a `&Binders<Vec<T>>`, for instance. Each
1659
- /// element will be a `Binders<&T>`.
1660
- impl < ' a , V > IntoIterator for & ' a Binders < V >
1661
- where
1662
- V : HasInterner ,
1663
- & ' a V : IntoIterator ,
1664
- <& ' a V as IntoIterator >:: Item : HasInterner < Interner = V :: Interner > ,
1665
- {
1666
- type Item = Binders < <& ' a V as IntoIterator >:: Item > ;
1667
- type IntoIter = BindersIntoIterator < & ' a V > ;
1668
-
1669
- fn into_iter ( self ) -> Self :: IntoIter {
1670
- self . map_ref ( |r| r) . into_iter ( )
1671
- }
1672
- }
1673
-
1674
1658
/// Allows iterating over a Binders<Vec<T>>, for instance.
1675
1659
/// Each element will include the same set of parameter bounds.
1676
1660
impl < V , U > IntoIterator for Binders < V >
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ impl<I: Interner> ToProgramClauses<I> for OpaqueTyDatum<I> {
168
168
) ) ;
169
169
170
170
let substitution = Substitution :: from1 ( interner, alias_placeholder_ty. clone ( ) ) ;
171
- for bound in & opaque_ty_bound. bounds {
171
+ for bound in opaque_ty_bound. bounds {
172
172
// Implemented(!T<..>: Bound).
173
173
let bound_with_placeholder_ty = bound. substitute ( interner, & substitution) ;
174
174
builder. push_binders ( & bound_with_placeholder_ty, |builder, bound| {
You can’t perform that action at this time.
0 commit comments