File tree 40 files changed +40
-40
lines changed
rustc_attr_data_structures/src
rustc_pattern_analysis/src
rustc_symbol_mangling/src
rustc_trait_selection/src
40 files changed +40
-40
lines changed Original file line number Diff line number Diff line change 14
14
#![ feature( associated_type_defaults) ]
15
15
#![ feature( box_patterns) ]
16
16
#![ feature( if_let_guard) ]
17
- #![ feature( let_chains) ]
17
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
18
18
#![ feature( negative_impls) ]
19
19
#![ feature( never_type) ]
20
20
#![ feature( rustdoc_internals) ]
Original file line number Diff line number Diff line change 37
37
#![ feature( box_patterns) ]
38
38
#![ feature( exact_size_is_empty) ]
39
39
#![ feature( if_let_guard) ]
40
- #![ feature( let_chains) ]
40
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
41
41
#![ feature( rustdoc_internals) ]
42
42
// tidy-alphabetical-end
43
43
Original file line number Diff line number Diff line change 8
8
#![ feature( box_patterns) ]
9
9
#![ feature( if_let_guard) ]
10
10
#![ feature( iter_is_partitioned) ]
11
- #![ feature( let_chains) ]
11
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
12
12
#![ feature( rustdoc_internals) ]
13
13
// tidy-alphabetical-end
14
14
Original file line number Diff line number Diff line change 1
1
// tidy-alphabetical-start
2
2
#![ allow( internal_features) ]
3
3
#![ doc( rust_logo) ]
4
- #![ feature( let_chains) ]
4
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
5
5
#![ feature( rustdoc_internals) ]
6
6
// tidy-alphabetical-end
7
7
Original file line number Diff line number Diff line change 78
78
// tidy-alphabetical-start
79
79
#![ allow( internal_features) ]
80
80
#![ doc( rust_logo) ]
81
- #![ feature( let_chains) ]
81
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
82
82
#![ feature( rustdoc_internals) ]
83
83
// tidy-alphabetical-end
84
84
Original file line number Diff line number Diff line change 7
7
#![ feature( box_patterns) ]
8
8
#![ feature( file_buffered) ]
9
9
#![ feature( if_let_guard) ]
10
- #![ feature( let_chains) ]
10
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
11
11
#![ feature( negative_impls) ]
12
12
#![ feature( never_type) ]
13
13
#![ feature( rustc_attrs) ]
Original file line number Diff line number Diff line change 12
12
#![ feature( box_patterns) ]
13
13
#![ feature( decl_macro) ]
14
14
#![ feature( if_let_guard) ]
15
- #![ feature( let_chains) ]
15
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
16
16
#![ feature( proc_macro_internals) ]
17
17
#![ feature( proc_macro_quote) ]
18
18
#![ feature( rustdoc_internals) ]
Original file line number Diff line number Diff line change 15
15
#![ feature( if_let_guard) ]
16
16
#![ feature( impl_trait_in_assoc_type) ]
17
17
#![ feature( iter_intersperse) ]
18
- #![ feature( let_chains) ]
18
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
19
19
#![ feature( rustdoc_internals) ]
20
20
#![ feature( slice_as_array) ]
21
21
#![ feature( try_blocks) ]
Original file line number Diff line number Diff line change 8
8
#![ feature( box_patterns) ]
9
9
#![ feature( file_buffered) ]
10
10
#![ feature( if_let_guard) ]
11
- #![ feature( let_chains) ]
11
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
12
12
#![ feature( negative_impls) ]
13
13
#![ feature( rustdoc_internals) ]
14
14
#![ feature( string_from_utf8_lossy_owned) ]
Original file line number Diff line number Diff line change 6
6
#![ feature( box_patterns) ]
7
7
#![ feature( decl_macro) ]
8
8
#![ feature( if_let_guard) ]
9
- #![ feature( let_chains) ]
9
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
10
10
#![ feature( never_type) ]
11
11
#![ feature( rustdoc_internals) ]
12
12
#![ feature( slice_ptr_get) ]
Original file line number Diff line number Diff line change 10
10
#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/" ) ]
11
11
#![ doc( rust_logo) ]
12
12
#![ feature( decl_macro) ]
13
- #![ feature( let_chains) ]
13
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
14
14
#![ feature( panic_backtrace_config) ]
15
15
#![ feature( panic_update_hook) ]
16
16
#![ feature( result_flattening) ]
Original file line number Diff line number Diff line change 17
17
#![ feature( default_field_values) ]
18
18
#![ feature( error_reporter) ]
19
19
#![ feature( if_let_guard) ]
20
- #![ feature( let_chains) ]
20
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
21
21
#![ feature( negative_impls) ]
22
22
#![ feature( never_type) ]
23
23
#![ feature( rustc_attrs) ]
Original file line number Diff line number Diff line change 5
5
#![ feature( array_windows) ]
6
6
#![ feature( associated_type_defaults) ]
7
7
#![ feature( if_let_guard) ]
8
- #![ feature( let_chains) ]
8
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
9
9
#![ feature( macro_metavar_expr) ]
10
10
#![ feature( map_try_insert) ]
11
11
#![ feature( proc_macro_diagnostic) ]
Original file line number Diff line number Diff line change 9
9
#![ feature( closure_track_caller) ]
10
10
#![ feature( debug_closure_helpers) ]
11
11
#![ feature( exhaustive_patterns) ]
12
- #![ feature( let_chains) ]
12
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
13
13
#![ feature( negative_impls) ]
14
14
#![ feature( never_type) ]
15
15
#![ feature( rustc_attrs) ]
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ This API is completely unstable and subject to change.
67
67
#![ feature( if_let_guard) ]
68
68
#![ feature( iter_from_coroutine) ]
69
69
#![ feature( iter_intersperse) ]
70
- #![ feature( let_chains) ]
70
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
71
71
#![ feature( never_type) ]
72
72
#![ feature( rustdoc_internals) ]
73
73
#![ feature( slice_partition_dedup) ]
Original file line number Diff line number Diff line change 2
2
//! the definitions in this file have equivalents in `rustc_ast_pretty`.
3
3
4
4
// tidy-alphabetical-start
5
- #![ feature( let_chains) ]
5
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
6
6
#![ recursion_limit = "256" ]
7
7
// tidy-alphabetical-end
8
8
Original file line number Diff line number Diff line change 5
5
#![ feature( box_patterns) ]
6
6
#![ feature( if_let_guard) ]
7
7
#![ feature( iter_intersperse) ]
8
- #![ feature( let_chains) ]
8
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
9
9
#![ feature( never_type) ]
10
10
#![ feature( try_blocks) ]
11
11
// tidy-alphabetical-end
Original file line number Diff line number Diff line change 21
21
#![ feature( assert_matches) ]
22
22
#![ feature( extend_one) ]
23
23
#![ feature( iterator_try_collect) ]
24
- #![ feature( let_chains) ]
24
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
25
25
#![ feature( rustdoc_internals) ]
26
26
#![ recursion_limit = "512" ] // For rustdoc
27
27
// tidy-alphabetical-end
Original file line number Diff line number Diff line change 2
2
#![ feature( decl_macro) ]
3
3
#![ feature( file_buffered) ]
4
4
#![ feature( iter_intersperse) ]
5
- #![ feature( let_chains) ]
5
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
6
6
#![ feature( try_blocks) ]
7
7
// tidy-alphabetical-end
8
8
Original file line number Diff line number Diff line change 28
28
#![ feature( box_patterns) ]
29
29
#![ feature( if_let_guard) ]
30
30
#![ feature( iter_order_by) ]
31
- #![ feature( let_chains) ]
31
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
32
32
#![ feature( rustc_attrs) ]
33
33
#![ feature( rustdoc_internals) ]
34
34
#![ feature( try_blocks) ]
Original file line number Diff line number Diff line change 1
1
// tidy-alphabetical-start
2
2
#![ allow( rustc:: default_hash_types) ]
3
3
#![ feature( if_let_guard) ]
4
- #![ feature( let_chains) ]
4
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
5
5
#![ feature( never_type) ]
6
6
#![ feature( proc_macro_diagnostic) ]
7
7
#![ feature( proc_macro_span) ]
Original file line number Diff line number Diff line change 8
8
#![ feature( file_buffered) ]
9
9
#![ feature( if_let_guard) ]
10
10
#![ feature( iter_from_coroutine) ]
11
- #![ feature( let_chains) ]
11
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
12
12
#![ feature( macro_metavar_expr) ]
13
13
#![ feature( min_specialization) ]
14
14
#![ feature( never_type) ]
Original file line number Diff line number Diff line change 48
48
#![ feature( if_let_guard) ]
49
49
#![ feature( intra_doc_pointers) ]
50
50
#![ feature( iter_from_coroutine) ]
51
- #![ feature( let_chains) ]
51
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
52
52
#![ feature( min_specialization) ]
53
53
#![ feature( negative_impls) ]
54
54
#![ feature( never_type) ]
Original file line number Diff line number Diff line change 6
6
#![ feature( assert_matches) ]
7
7
#![ feature( box_patterns) ]
8
8
#![ feature( if_let_guard) ]
9
- #![ feature( let_chains) ]
9
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
10
10
#![ feature( try_blocks) ]
11
11
// tidy-alphabetical-end
12
12
Original file line number Diff line number Diff line change 4
4
#![ feature( box_patterns) ]
5
5
#![ feature( exact_size_is_empty) ]
6
6
#![ feature( file_buffered) ]
7
- #![ feature( let_chains) ]
7
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
8
8
#![ feature( never_type) ]
9
9
#![ feature( try_blocks) ]
10
10
// tidy-alphabetical-end
Original file line number Diff line number Diff line change 7
7
#![ feature( file_buffered) ]
8
8
#![ feature( if_let_guard) ]
9
9
#![ feature( impl_trait_in_assoc_type) ]
10
- #![ feature( let_chains) ]
10
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
11
11
#![ feature( map_try_insert) ]
12
12
#![ feature( never_type) ]
13
13
#![ feature( try_blocks) ]
Original file line number Diff line number Diff line change 3
3
#![ feature( file_buffered) ]
4
4
#![ feature( if_let_guard) ]
5
5
#![ feature( impl_trait_in_assoc_type) ]
6
- #![ feature( let_chains) ]
6
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
7
7
// tidy-alphabetical-end
8
8
9
9
use rustc_hir:: lang_items:: LangItem ;
Original file line number Diff line number Diff line change 10
10
#![ feature( debug_closure_helpers) ]
11
11
#![ feature( if_let_guard) ]
12
12
#![ feature( iter_intersperse) ]
13
- #![ feature( let_chains) ]
13
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
14
14
#![ feature( string_from_utf8_lossy_owned) ]
15
15
// tidy-alphabetical-end
16
16
Original file line number Diff line number Diff line change 8
8
#![ allow( internal_features) ]
9
9
#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/" ) ]
10
10
#![ doc( rust_logo) ]
11
- #![ feature( let_chains) ]
11
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
12
12
#![ feature( map_try_insert) ]
13
13
#![ feature( rustdoc_internals) ]
14
14
#![ feature( try_blocks) ]
Original file line number Diff line number Diff line change 6
6
#![ allow( rustc:: diagnostic_outside_of_impl) ]
7
7
#![ allow( rustc:: untranslatable_diagnostic) ]
8
8
#![ allow( unused_crate_dependencies) ]
9
- #![ cfg_attr( feature = "rustc" , feature( let_chains) ) ]
9
+ #![ cfg_attr( all ( feature = "rustc" , bootstrap ) , feature( let_chains) ) ]
10
10
// tidy-alphabetical-end
11
11
12
12
pub mod constructor;
Original file line number Diff line number Diff line change 3
3
#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/" ) ]
4
4
#![ doc( rust_logo) ]
5
5
#![ feature( associated_type_defaults) ]
6
- #![ feature( let_chains) ]
6
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
7
7
#![ feature( rustdoc_internals) ]
8
8
#![ feature( try_blocks) ]
9
9
// tidy-alphabetical-end
Original file line number Diff line number Diff line change 3
3
#![ feature( assert_matches) ]
4
4
#![ feature( core_intrinsics) ]
5
5
#![ feature( dropck_eyepatch) ]
6
- #![ feature( let_chains) ]
6
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
7
7
#![ feature( min_specialization) ]
8
8
// tidy-alphabetical-end
9
9
Original file line number Diff line number Diff line change 16
16
#![ feature( box_patterns) ]
17
17
#![ feature( if_let_guard) ]
18
18
#![ feature( iter_intersperse) ]
19
- #![ feature( let_chains) ]
19
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
20
20
#![ feature( rustc_attrs) ]
21
21
#![ feature( rustdoc_internals) ]
22
22
// tidy-alphabetical-end
Original file line number Diff line number Diff line change 4
4
//! compiler.
5
5
6
6
// tidy-alphabetical-start
7
- #![ feature( let_chains) ]
7
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
8
8
// tidy-alphabetical-end
9
9
10
10
pub mod cfi;
Original file line number Diff line number Diff line change 2
2
#![ allow( internal_features) ]
3
3
#![ feature( default_field_values) ]
4
4
#![ feature( iter_intersperse) ]
5
- #![ feature( let_chains) ]
5
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
6
6
#![ feature( rustc_attrs) ]
7
7
// To generate CodegenOptionsTargetModifiers and UnstableOptionsTargetModifiers enums
8
8
// with macro_rules, it is necessary to use recursive mechanic ("Incremental TT Munchers").
Original file line number Diff line number Diff line change 24
24
#![ feature( core_io_borrowed_buf) ]
25
25
#![ feature( hash_set_entry) ]
26
26
#![ feature( if_let_guard) ]
27
- #![ feature( let_chains) ]
27
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
28
28
#![ feature( map_try_insert) ]
29
29
#![ feature( negative_impls) ]
30
30
#![ feature( read_buf) ]
Original file line number Diff line number Diff line change 91
91
#![ allow( internal_features) ]
92
92
#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/" ) ]
93
93
#![ doc( rust_logo) ]
94
- #![ feature( let_chains) ]
94
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
95
95
#![ feature( rustdoc_internals) ]
96
96
// tidy-alphabetical-end
97
97
Original file line number Diff line number Diff line change 14
14
#![ feature( assert_matches) ]
15
15
#![ feature( debug_closure_helpers) ]
16
16
#![ feature( iter_intersperse) ]
17
- #![ feature( let_chains) ]
17
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
18
18
#![ feature( rustc_attrs) ]
19
19
#![ feature( rustdoc_internals) ]
20
20
// tidy-alphabetical-end
Original file line number Diff line number Diff line change 23
23
#![ feature( if_let_guard) ]
24
24
#![ feature( iter_intersperse) ]
25
25
#![ feature( iterator_try_reduce) ]
26
- #![ feature( let_chains) ]
26
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
27
27
#![ feature( never_type) ]
28
28
#![ feature( rustdoc_internals) ]
29
29
#![ feature( try_blocks) ]
Original file line number Diff line number Diff line change 13
13
#![ feature( box_patterns) ]
14
14
#![ feature( if_let_guard) ]
15
15
#![ feature( iterator_try_collect) ]
16
- #![ feature( let_chains) ]
16
+ #![ cfg_attr ( bootstrap , feature( let_chains) ) ]
17
17
#![ feature( never_type) ]
18
18
#![ feature( rustdoc_internals) ]
19
19
// tidy-alphabetical-end
You can’t perform that action at this time.
0 commit comments