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 87
87
#![ warn( missing_debug_implementations) ]
88
88
#![ warn( missing_docs) ]
89
89
#![ allow( explicit_outlives_requirements) ]
90
+ #![ cfg_attr( not( bootstrap) , warn( multiple_supertrait_upcastable) ) ]
90
91
//
91
92
// Library features:
92
93
#![ feature( alloc_layout_extra) ]
190
191
#![ feature( unsized_fn_params) ]
191
192
#![ feature( c_unwind) ]
192
193
#![ feature( with_negative_coherence) ]
194
+ #![ cfg_attr( not( bootstrap) , feature( multiple_supertrait_upcastable) ) ]
193
195
//
194
196
// Rustdoc features:
195
197
#![ feature( doc_cfg) ]
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ use crate::fmt::{Debug, Display};
28
28
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
29
29
#[ cfg_attr( not( test) , rustc_diagnostic_item = "Error" ) ]
30
30
#[ rustc_has_incoherent_inherent_impls]
31
+ #[ cfg_attr( not( bootstrap) , allow( multiple_supertrait_upcastable) ) ]
31
32
pub trait Error : Debug + Display {
32
33
/// The lower-level source of this error, if any.
33
34
///
Original file line number Diff line number Diff line change 95
95
#![ warn( missing_docs) ]
96
96
#![ allow( explicit_outlives_requirements) ]
97
97
#![ allow( incomplete_features) ]
98
+ #![ cfg_attr( not( bootstrap) , warn( multiple_supertrait_upcastable) ) ]
98
99
//
99
100
// Library features:
100
101
#![ feature( const_align_offset) ]
231
232
#![ feature( unsized_fn_params) ]
232
233
#![ feature( asm_const) ]
233
234
#![ feature( const_transmute_copy) ]
235
+ #![ cfg_attr( not( bootstrap) , feature( multiple_supertrait_upcastable) ) ]
234
236
//
235
237
// Target features:
236
238
#![ feature( arm_target_feature) ]
You can’t perform that action at this time.
0 commit comments