File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 140
140
#![ feature( maybe_uninit_extra, maybe_uninit_slice, maybe_uninit_uninit_array) ]
141
141
#![ feature( alloc_layout_extra) ]
142
142
#![ feature( trusted_random_access) ]
143
- #![ feature( try_trait) ]
144
- #![ feature( try_trait_v2) ]
143
+ #![ cfg_attr ( bootstrap , feature( try_trait) ) ]
144
+ #![ cfg_attr ( not ( bootstrap ) , feature( try_trait_v2) ) ]
145
145
#![ feature( min_type_alias_impl_trait) ]
146
146
#![ feature( associated_type_bounds) ]
147
147
#![ feature( slice_group_by) ]
Original file line number Diff line number Diff line change @@ -2418,7 +2418,8 @@ pub trait Iterator {
2418
2418
Self : Sized ,
2419
2419
F : FnMut ( & Self :: Item ) -> R ,
2420
2420
R : Try < Output = bool > ,
2421
- // FIXME: This is a weird bound; the API should change
2421
+ // FIXME: This bound is rather strange, but means minimal breakage on nightly.
2422
+ // See #85115 for the issue tracking a holistic solution for this and try_map.
2422
2423
R : crate :: ops:: TryV2 < Residual = Result < crate :: convert:: Infallible , E > > ,
2423
2424
{
2424
2425
#[ inline]
You can’t perform that action at this time.
0 commit comments