File tree 18 files changed +51
-1
lines changed
rustc_codegen_cranelift/src
rustc_data_structures/src
18 files changed +51
-1
lines changed Original file line number Diff line number Diff line change 1
1
#![ cfg_attr( feature = "nightly" , feature( step_trait) ) ]
2
2
#![ 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) ) ]
3
5
4
6
use std:: fmt;
5
7
use std:: num:: { NonZeroUsize , ParseIntError } ;
Original file line number Diff line number Diff line change 30
30
//! get confused if the spans from leaf AST nodes occur in multiple places
31
31
//! in the HIR, especially for multiple identifiers.
32
32
33
+ #![ cfg_attr( not( bootstrap) , allow( internal_features) ) ]
34
+ #![ cfg_attr( not( bootstrap) , feature( rustdoc_internals) ) ]
35
+ #![ cfg_attr( not( bootstrap) , doc( rust_logo) ) ]
33
36
#![ feature( box_patterns) ]
34
37
#![ feature( let_chains) ]
35
38
#![ feature( never_type) ]
Original file line number Diff line number Diff line change 4
4
//!
5
5
//! The crate also contains other misc AST visitors, e.g. `node_count` and `show_span`.
6
6
7
+ #![ cfg_attr( not( bootstrap) , allow( internal_features) ) ]
8
+ #![ cfg_attr( not( bootstrap) , doc( rust_logo) ) ]
9
+ #![ cfg_attr( not( bootstrap) , feature( rustdoc_internals) ) ]
7
10
#![ feature( box_patterns) ]
8
11
#![ feature( if_let_guard) ]
9
12
#![ 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) ) ]
1
4
#![ deny( rustc:: untranslatable_diagnostic) ]
2
5
#![ deny( rustc:: diagnostic_outside_of_impl) ]
3
6
#![ feature( associated_type_bounds) ]
Original file line number Diff line number Diff line change 4
4
//! The goal is to move the definition of `MetaItem` and things that don't need to be in `syntax`
5
5
//! to this crate.
6
6
7
+ #![ cfg_attr( not( bootstrap) , allow( internal_features) ) ]
8
+ #![ cfg_attr( not( bootstrap) , feature( rustdoc_internals) ) ]
9
+ #![ cfg_attr( not( bootstrap) , doc( rust_logo) ) ]
7
10
#![ feature( let_chains) ]
8
11
#![ deny( rustc:: untranslatable_diagnostic) ]
9
12
#![ deny( rustc:: diagnostic_outside_of_impl) ]
Original file line number Diff line number Diff line change 19
19
//! -k list/and@1 fallback/likelysubtags@1 fallback/parents@1 fallback/supplement/co@1 \
20
20
//! --cldr-tag latest --icuexport-tag latest -o src/data
21
21
//! ```
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) ) ]
22
26
#![ allow( elided_lifetimes_in_paths) ]
23
27
24
28
mod data {
Original file line number Diff line number Diff line change 1
1
//! This query borrow-checks the MIR to (further) ensure it is not broken.
2
2
3
+ #![ allow( internal_features) ]
4
+ #![ cfg_attr( not( bootstrap) , feature( rustdoc_internals) ) ]
5
+ #![ cfg_attr( not( bootstrap) , doc( rust_logo) ) ]
3
6
#![ feature( associated_type_bounds) ]
4
7
#![ feature( box_patterns) ]
5
8
#![ feature( let_chains) ]
11
14
#![ feature( trusted_step) ]
12
15
#![ feature( try_blocks) ]
13
16
#![ recursion_limit = "256" ]
14
- #![ allow( internal_features) ]
15
17
16
18
#[ macro_use]
17
19
extern crate rustc_middle;
Original file line number Diff line number Diff line change 1
1
//! This crate contains implementations of built-in macros and other code generating facilities
2
2
//! injecting code into the crate before it is lowered to HIR.
3
3
4
+ #![ cfg_attr( not( bootstrap) , allow( internal_features) ) ]
5
+ #![ cfg_attr( not( bootstrap) , feature( rustdoc_internals) ) ]
6
+ #![ cfg_attr( not( bootstrap) , doc( rust_logo) ) ]
4
7
#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/" ) ]
5
8
#![ feature( array_windows) ]
6
9
#![ feature( box_patterns) ]
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) ) ]
1
4
#![ feature( rustc_private) ]
2
5
// Note: please avoid adding other feature gates where possible
3
6
#![ warn( rust_2018_idioms) ]
Original file line number Diff line number Diff line change 12
12
* TODO(antoyo): remove the patches.
13
13
*/
14
14
15
+ #![ cfg_attr( not( bootstrap) , doc( rust_logo) ) ]
16
+ #![ cfg_attr( not( bootstrap) , feature( rustdoc_internals) ) ]
15
17
#![ feature(
16
18
rustc_private,
17
19
decl_macro,
Original file line number Diff line number Diff line change 4
4
//!
5
5
//! This API is completely unstable and subject to change.
6
6
7
+ #![ cfg_attr( not( bootstrap) , allow( internal_features) ) ]
8
+ #![ cfg_attr( not( bootstrap) , feature( rustdoc_internals) ) ]
9
+ #![ cfg_attr( not( bootstrap) , doc( rust_logo) ) ]
7
10
#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/" ) ]
8
11
#![ feature( extern_types) ]
9
12
#![ feature( hash_raw_entry) ]
Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ Rust MIR: a lowered representation of Rust.
4
4
5
5
*/
6
6
7
+ #![ cfg_attr( not( bootstrap) , allow( internal_features) ) ]
8
+ #![ cfg_attr( not( bootstrap) , feature( rustdoc_internals) ) ]
9
+ #![ cfg_attr( not( bootstrap) , doc( rust_logo) ) ]
7
10
#![ deny( rustc:: untranslatable_diagnostic) ]
8
11
#![ feature( assert_matches) ]
9
12
#![ feature( box_patterns) ]
Original file line number Diff line number Diff line change 6
6
//!
7
7
//! This API is completely unstable and subject to change.
8
8
9
+ #![ cfg_attr( not( bootstrap) , doc( rust_logo) ) ]
10
+ #![ cfg_attr( not( bootstrap) , feature( rustdoc_internals) ) ]
9
11
#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/" ) ]
10
12
#![ feature( array_windows) ]
11
13
#![ feature( associated_type_bounds) ]
Original file line number Diff line number Diff line change 1
1
// This crate is intentionally empty and a re-export of `rustc_driver_impl` to allow the code in
2
2
// `rustc_driver_impl` to be compiled in parallel with other crates.
3
3
4
+ #![ cfg_attr( not( bootstrap) , allow( internal_features) ) ]
5
+ #![ cfg_attr( not( bootstrap) , feature( rustdoc_internals) ) ]
6
+ #![ cfg_attr( not( bootstrap) , doc( rust_logo) ) ]
7
+
4
8
pub use rustc_driver_impl:: * ;
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) ) ]
1
4
#![ deny( rustdoc:: invalid_codeblock_attributes) ]
2
5
#![ deny( rustc:: untranslatable_diagnostic) ]
3
6
#![ deny( rustc:: diagnostic_outside_of_impl) ]
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) ) ]
1
3
#![ feature( let_chains) ]
2
4
#![ feature( lazy_cell) ]
3
5
#![ feature( rustc_attrs) ]
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) ) ]
1
3
#![ feature( array_windows) ]
2
4
#![ feature( associated_type_bounds) ]
3
5
#![ feature( associated_type_defaults) ]
Original file line number Diff line number Diff line change 11
11
//! even if it is stabilized or removed, *do not remove it*. Instead, move the
12
12
//! symbol to the `accepted` or `removed` modules respectively.
13
13
14
+ #![ cfg_attr( not( bootstrap) , allow( internal_features) ) ]
15
+ #![ cfg_attr( not( bootstrap) , feature( rustdoc_internals) ) ]
16
+ #![ cfg_attr( not( bootstrap) , doc( rust_logo) ) ]
14
17
#![ feature( lazy_cell) ]
15
18
#![ deny( rustc:: untranslatable_diagnostic) ]
16
19
#![ deny( rustc:: diagnostic_outside_of_impl) ]
You can’t perform that action at this time.
0 commit comments