X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=library%2Falloc%2Fsrc%2Flib.rs;h=76dabfb429dd503ab945ff002028f0a7f2d375dc;hb=dc3e59cb3fe05ebd752d3a2269f501c00327be22;hp=ca75c3895f41f61547be83491e0c042102a4a927;hpb=94a300b9b8eb253c1b809fc44b8c213fd591c537;p=rust.git diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs index ca75c3895f4..76dabfb429d 100644 --- a/library/alloc/src/lib.rs +++ b/library/alloc/src/lib.rs @@ -87,6 +87,7 @@ #![warn(missing_debug_implementations)] #![warn(missing_docs)] #![allow(explicit_outlives_requirements)] +#![cfg_attr(not(bootstrap), warn(multiple_supertrait_upcastable))] // // Library features: #![feature(alloc_layout_extra)] @@ -195,6 +196,7 @@ #![feature(c_unwind)] #![feature(with_negative_coherence)] #![cfg_attr(test, feature(panic_update_hook))] +#![cfg_attr(not(bootstrap), feature(multiple_supertrait_upcastable))] // // Rustdoc features: #![feature(doc_cfg)]