File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed
Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 8787#![ warn( missing_debug_implementations) ]
8888#![ warn( missing_docs) ]
8989#![ allow( explicit_outlives_requirements) ]
90+ #![ cfg_attr( not( bootstrap) , warn( multiple_supertrait_upcastable) ) ]
9091//
9192// Library features:
9293#![ feature( alloc_layout_extra) ]
190191#![ feature( unsized_fn_params) ]
191192#![ feature( c_unwind) ]
192193#![ feature( with_negative_coherence) ]
194+ #![ cfg_attr( not( bootstrap) , feature( multiple_supertrait_upcastable) ) ]
193195//
194196// Rustdoc features:
195197#![ feature( doc_cfg) ]
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ use crate::fmt::{Debug, Display};
2828#[ stable( feature = "rust1" , since = "1.0.0" ) ]
2929#[ cfg_attr( not( test) , rustc_diagnostic_item = "Error" ) ]
3030#[ rustc_has_incoherent_inherent_impls]
31+ #[ cfg_attr( not( bootstrap) , allow( multiple_supertrait_upcastable) ) ]
3132pub trait Error : Debug + Display {
3233 /// The lower-level source of this error, if any.
3334 ///
Original file line number Diff line number Diff line change 9595#![ warn( missing_docs) ]
9696#![ allow( explicit_outlives_requirements) ]
9797#![ allow( incomplete_features) ]
98+ #![ cfg_attr( not( bootstrap) , warn( multiple_supertrait_upcastable) ) ]
9899//
99100// Library features:
100101#![ feature( const_align_offset) ]
231232#![ feature( unsized_fn_params) ]
232233#![ feature( asm_const) ]
233234#![ feature( const_transmute_copy) ]
235+ #![ cfg_attr( not( bootstrap) , feature( multiple_supertrait_upcastable) ) ]
234236//
235237// Target features:
236238#![ feature( arm_target_feature) ]
You can’t perform that action at this time.
0 commit comments