File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 113113#![ cfg_attr( bootstrap, feature( doc_spotlight) ) ]
114114#![ cfg_attr( not( bootstrap) , feature( doc_notable_trait) ) ]
115115#![ feature( duration_consts_2) ]
116- #![ feature( extended_key_value_attributes) ]
116+ #![ cfg_attr ( bootstrap , feature( extended_key_value_attributes) ) ]
117117#![ feature( extern_types) ]
118118#![ feature( fundamental) ]
119119#![ feature( intra_doc_pointers) ]
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ impl<T> Option<T> {
209209 /// assert_eq!(x.is_none(), true);
210210 /// ```
211211 #[ 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"]
213213 #[ inline]
214214 #[ rustc_const_stable( feature = "const_option" , since = "1.48.0" ) ]
215215 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
Original file line number Diff line number Diff line change 268268#![ feature( exact_size_is_empty) ]
269269#![ feature( exhaustive_patterns) ]
270270#![ feature( extend_one) ]
271- #![ feature( extended_key_value_attributes) ]
271+ #![ cfg_attr ( bootstrap , feature( extended_key_value_attributes) ) ]
272272#![ feature( fn_traits) ]
273273#![ feature( format_args_nl) ]
274274#![ feature( gen_future) ]
You can’t perform that action at this time.
0 commit comments