File tree Expand file tree Collapse file tree 2 files changed +1
-17
lines changed Expand file tree Collapse file tree 2 files changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -1655,22 +1655,6 @@ where
16551655 }
16561656}
16571657
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-
16741658/// Allows iterating over a Binders<Vec<T>>, for instance.
16751659/// Each element will include the same set of parameter bounds.
16761660impl < 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> {
168168 ) ) ;
169169
170170 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 {
172172 // Implemented(!T<..>: Bound).
173173 let bound_with_placeholder_ty = bound. substitute ( interner, & substitution) ;
174174 builder. push_binders ( & bound_with_placeholder_ty, |builder, bound| {
You can’t perform that action at this time.
0 commit comments