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) ]
195
196
#![ feature( c_unwind) ]
196
197
#![ feature( with_negative_coherence) ]
197
198
#![ cfg_attr( test, feature( panic_update_hook) ) ]
199
+ #![ cfg_attr( not( bootstrap) , feature( multiple_supertrait_upcastable) ) ]
198
200
//
199
201
// Rustdoc features:
200
202
#![ 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) ]
235
236
#![ feature( unsized_fn_params) ]
236
237
#![ feature( asm_const) ]
237
238
#![ feature( const_transmute_copy) ]
239
+ #![ cfg_attr( not( bootstrap) , feature( multiple_supertrait_upcastable) ) ]
238
240
//
239
241
// Target features:
240
242
#![ feature( arm_target_feature) ]
You can’t perform that action at this time.
0 commit comments