File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 113
113
#![ cfg_attr( bootstrap, feature( doc_spotlight) ) ]
114
114
#![ cfg_attr( not( bootstrap) , feature( doc_notable_trait) ) ]
115
115
#![ feature( duration_consts_2) ]
116
- #![ feature( extended_key_value_attributes) ]
116
+ #![ cfg_attr ( bootstrap , feature( extended_key_value_attributes) ) ]
117
117
#![ feature( extern_types) ]
118
118
#![ feature( fundamental) ]
119
119
#![ feature( intra_doc_pointers) ]
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ impl<T> Option<T> {
209
209
/// assert_eq!(x.is_none(), true);
210
210
/// ```
211
211
#[ must_use = "if you intended to assert that this doesn't have a value, consider \
212
- `.and_then(|| panic!(\" `Option` had a value when expected `None`\" ))` instead"]
212
+ `.and_then(|_ | panic!(\" `Option` had a value when expected `None`\" ))` instead"]
213
213
#[ inline]
214
214
#[ rustc_const_stable( feature = "const_option" , since = "1.48.0" ) ]
215
215
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
Original file line number Diff line number Diff line change 268
268
#![ feature( exact_size_is_empty) ]
269
269
#![ feature( exhaustive_patterns) ]
270
270
#![ feature( extend_one) ]
271
- #![ feature( extended_key_value_attributes) ]
271
+ #![ cfg_attr ( bootstrap , feature( extended_key_value_attributes) ) ]
272
272
#![ feature( fn_traits) ]
273
273
#![ feature( format_args_nl) ]
274
274
#![ feature( gen_future) ]
You can’t perform that action at this time.
0 commit comments