File tree Expand file tree Collapse file tree 10 files changed +12
-0
lines changed
Expand file tree Collapse file tree 10 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 8888#![ warn( missing_docs) ]
8989#![ allow( explicit_outlives_requirements) ]
9090#![ warn( multiple_supertrait_upcastable) ]
91+ #![ cfg_attr( not( bootstrap) , allow( internal_features) ) ]
9192//
9293// Library features:
9394// tidy-alphabetical-start
Original file line number Diff line number Diff line change 1414//!
1515//! ```rust
1616//! #![feature(core_intrinsics, custom_mir)]
17+ #![ cfg_attr( not( bootstrap) , doc = "#![allow(internal_features)]" ) ]
1718//!
1819//! use core::intrinsics::mir::*;
1920//!
6364//!
6465//! ```rust
6566//! #![feature(core_intrinsics, custom_mir)]
67+ #![ cfg_attr( not( bootstrap) , doc = "#![allow(internal_features)]" ) ]
6668//!
6769//! use core::intrinsics::mir::*;
6870//!
@@ -315,6 +317,7 @@ define!(
315317 /// # Examples
316318 ///
317319 /// ```rust
320+ #[ cfg_attr( not( bootstrap) , doc = "#![allow(internal_features)]" ) ]
318321 /// #![feature(custom_mir, core_intrinsics)]
319322 ///
320323 /// use core::intrinsics::mir::*;
Original file line number Diff line number Diff line change 9696#![ allow( explicit_outlives_requirements) ]
9797#![ allow( incomplete_features) ]
9898#![ warn( multiple_supertrait_upcastable) ]
99+ #![ cfg_attr( not( bootstrap) , allow( internal_features) ) ]
99100//
100101// Library features:
101102// tidy-alphabetical-start
Original file line number Diff line number Diff line change 1414#![ feature( staged_api) ]
1515#![ feature( rustc_attrs) ]
1616#![ feature( c_unwind) ]
17+ #![ cfg_attr( not( bootstrap) , allow( internal_features) ) ]
1718
1819#[ cfg( target_os = "android" ) ]
1920mod android;
Original file line number Diff line number Diff line change 2626#![ feature( c_unwind) ]
2727// `real_imp` is unused with Miri, so silence warnings.
2828#![ cfg_attr( miri, allow( dead_code) ) ]
29+ #![ cfg_attr( not( bootstrap) , allow( internal_features) ) ]
2930
3031use alloc:: boxed:: Box ;
3132use core:: any:: Any ;
Original file line number Diff line number Diff line change 3333#![ feature( min_specialization) ]
3434#![ feature( strict_provenance) ]
3535#![ recursion_limit = "256" ]
36+ #![ cfg_attr( not( bootstrap) , allow( internal_features) ) ]
3637
3738#[ unstable( feature = "proc_macro_internals" , issue = "27812" ) ]
3839#[ doc( hidden) ]
Original file line number Diff line number Diff line change 77 issue = "none"
88) ]
99#![ allow( unused_features) ]
10+ #![ cfg_attr( not( bootstrap) , allow( internal_features) ) ]
1011#![ feature( staged_api) ]
Original file line number Diff line number Diff line change 220220#![ warn( missing_debug_implementations) ]
221221#![ allow( explicit_outlives_requirements) ]
222222#![ allow( unused_lifetimes) ]
223+ #![ cfg_attr( not( bootstrap) , allow( internal_features) ) ]
223224#![ deny( rustc:: existing_doc_keyword) ]
224225#![ deny( fuzzy_provenance_casts) ]
225226// Ensure that std can be linked against panic_abort despite compiled with `-C panic=unwind`
Original file line number Diff line number Diff line change 2121#![ feature( process_exitcode_internals) ]
2222#![ feature( panic_can_unwind) ]
2323#![ feature( test) ]
24+ #![ cfg_attr( not( bootstrap) , allow( internal_features) ) ]
2425
2526// Public reexports
2627pub use self :: bench:: { black_box, Bencher } ;
Original file line number Diff line number Diff line change 55#![ feature( c_unwind) ]
66#![ feature( cfg_target_abi) ]
77#![ cfg_attr( not( target_env = "msvc" ) , feature( libc) ) ]
8+ #![ cfg_attr( not( bootstrap) , allow( internal_features) ) ]
89
910cfg_if:: cfg_if! {
1011 if #[ cfg( target_env = "msvc" ) ] {
You can’t perform that action at this time.
0 commit comments