File tree Expand file tree Collapse file tree 18 files changed +50
-1
lines changed
rustc_codegen_cranelift/src
rustc_data_structures/src Expand file tree Collapse file tree 18 files changed +50
-1
lines changed Original file line number Diff line number Diff line change 11#![ cfg_attr( feature = "nightly" , feature( step_trait) ) ]
22#![ cfg_attr( feature = "nightly" , allow( internal_features) ) ]
3+ #![ cfg_attr( all( not( bootstrap) , feature = "nightly" ) , doc( rust_logo) ) ]
4+ #![ cfg_attr( all( not( bootstrap) , feature = "nightly" ) , feature( rustdoc_internals) ) ]
35
46use std:: fmt;
57use std:: num:: { NonZeroUsize , ParseIntError } ;
Original file line number Diff line number Diff line change 3030//! get confused if the spans from leaf AST nodes occur in multiple places
3131//! in the HIR, especially for multiple identifiers.
3232
33+ #![ cfg_attr( not( bootstrap) , allow( internal_features) ) ]
34+ #![ cfg_attr( not( bootstrap) , feature( rustdoc_internals) ) ]
35+ #![ cfg_attr( not( bootstrap) , doc( rust_logo) ) ]
3336#![ feature( box_patterns) ]
3437#![ feature( let_chains) ]
3538#![ feature( never_type) ]
Original file line number Diff line number Diff line change 44//!
55//! The crate also contains other misc AST visitors, e.g. `node_count` and `show_span`.
66
7+ #![ cfg_attr( not( bootstrap) , allow( internal_features) ) ]
8+ #![ cfg_attr( not( bootstrap) , doc( rust_logo) ) ]
9+ #![ cfg_attr( not( bootstrap) , feature( rustdoc_internals) ) ]
710#![ feature( box_patterns) ]
811#![ feature( if_let_guard) ]
912#![ feature( iter_is_partitioned) ]
Original file line number Diff line number Diff line change 1+ #![ cfg_attr( not( bootstrap) , allow( internal_features) ) ]
2+ #![ cfg_attr( not( bootstrap) , feature( rustdoc_internals) ) ]
3+ #![ cfg_attr( not( bootstrap) , doc( rust_logo) ) ]
14#![ deny( rustc:: untranslatable_diagnostic) ]
25#![ deny( rustc:: diagnostic_outside_of_impl) ]
36#![ feature( associated_type_bounds) ]
Original file line number Diff line number Diff line change 44//! The goal is to move the definition of `MetaItem` and things that don't need to be in `syntax`
55//! to this crate.
66
7+ #![ cfg_attr( not( bootstrap) , allow( internal_features) ) ]
8+ #![ cfg_attr( not( bootstrap) , feature( rustdoc_internals) ) ]
9+ #![ cfg_attr( not( bootstrap) , doc( rust_logo) ) ]
710#![ feature( let_chains) ]
811#![ deny( rustc:: untranslatable_diagnostic) ]
912#![ deny( rustc:: diagnostic_outside_of_impl) ]
Original file line number Diff line number Diff line change 1919//! -k list/and@1 fallback/likelysubtags@1 fallback/parents@1 fallback/supplement/co@1 \
2020//! --cldr-tag latest --icuexport-tag latest -o src/data
2121//! ```
22+
23+ #![ cfg_attr( not( bootstrap) , allow( internal_features) ) ]
24+ #![ cfg_attr( not( bootstrap) , feature( rustdoc_internals) ) ]
25+ #![ cfg_attr( not( bootstrap) , doc( rust_logo) ) ]
2226#![ allow( elided_lifetimes_in_paths) ]
2327
2428mod data {
Original file line number Diff line number Diff line change 11//! This query borrow-checks the MIR to (further) ensure it is not broken.
22
3+ #![ allow( internal_features) ]
4+ #![ cfg_attr( not( bootstrap) , feature( rustdoc_internals) ) ]
5+ #![ cfg_attr( not( bootstrap) , doc( rust_logo) ) ]
36#![ feature( associated_type_bounds) ]
47#![ feature( box_patterns) ]
58#![ feature( let_chains) ]
1114#![ feature( trusted_step) ]
1215#![ feature( try_blocks) ]
1316#![ recursion_limit = "256" ]
14- #![ allow( internal_features) ]
1517
1618#[ macro_use]
1719extern crate rustc_middle;
Original file line number Diff line number Diff line change 11//! This crate contains implementations of built-in macros and other code generating facilities
22//! injecting code into the crate before it is lowered to HIR.
33
4+ #![ cfg_attr( not( bootstrap) , allow( internal_features) ) ]
5+ #![ cfg_attr( not( bootstrap) , feature( rustdoc_internals) ) ]
6+ #![ cfg_attr( not( bootstrap) , doc( rust_logo) ) ]
47#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/" ) ]
58#![ feature( array_windows) ]
69#![ feature( box_patterns) ]
Original file line number Diff line number Diff line change 1+ #![ cfg_attr( not( bootstrap) , doc( rust_logo) ) ]
2+ #![ cfg_attr( not( bootstrap) , feature( rustdoc_internals) ) ]
13#![ feature( rustc_private) ]
24// Note: please avoid adding other feature gates where possible
35#![ warn( rust_2018_idioms) ]
Original file line number Diff line number Diff line change 1212 * TODO(antoyo): remove the patches.
1313 */
1414
15+ #![ cfg_attr( not( bootstrap) , doc( rust_logo) ) ]
16+ #![ cfg_attr( not( bootstrap) , feature( rustdoc_internals) ) ]
1517#![ feature(
1618 rustc_private,
1719 decl_macro,
You can’t perform that action at this time.
0 commit comments