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 6
6
7
7
// tidy-alphabetical-start
8
8
#![ allow( internal_features) ]
9
+ #![ cfg_attr( bootstrap, feature( let_chains) ) ]
9
10
#![ doc(
10
11
html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/" ,
11
12
test( attr( deny( warnings) ) )
14
15
#![ feature( associated_type_defaults) ]
15
16
#![ feature( box_patterns) ]
16
17
#![ feature( if_let_guard) ]
17
- #![ 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 32
32
33
33
// tidy-alphabetical-start
34
34
#![ allow( internal_features) ]
35
+ #![ cfg_attr( bootstrap, feature( let_chains) ) ]
35
36
#![ doc( rust_logo) ]
36
37
#![ feature( assert_matches) ]
37
38
#![ feature( box_patterns) ]
38
39
#![ feature( exact_size_is_empty) ]
39
40
#![ feature( if_let_guard) ]
40
- #![ 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 4
4
5
5
// tidy-alphabetical-start
6
6
#![ allow( internal_features) ]
7
+ #![ cfg_attr( bootstrap, feature( let_chains) ) ]
7
8
#![ doc( rust_logo) ]
8
9
#![ feature( box_patterns) ]
9
10
#![ feature( if_let_guard) ]
10
11
#![ feature( iter_is_partitioned) ]
11
- #![ 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
+ #![ cfg_attr( bootstrap, feature( let_chains) ) ]
3
4
#![ doc( rust_logo) ]
4
- #![ 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 77
77
78
78
// tidy-alphabetical-start
79
79
#![ allow( internal_features) ]
80
+ #![ cfg_attr( bootstrap, feature( let_chains) ) ]
80
81
#![ doc( rust_logo) ]
81
- #![ 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 2
2
3
3
// tidy-alphabetical-start
4
4
#![ allow( internal_features) ]
5
+ #![ cfg_attr( bootstrap, feature( let_chains) ) ]
5
6
#![ doc( rust_logo) ]
6
7
#![ feature( assert_matches) ]
7
8
#![ feature( box_patterns) ]
8
9
#![ feature( file_buffered) ]
9
10
#![ feature( if_let_guard) ]
10
- #![ 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 5
5
#![ allow( internal_features) ]
6
6
#![ allow( rustc:: diagnostic_outside_of_impl) ]
7
7
#![ allow( rustc:: untranslatable_diagnostic) ]
8
+ #![ cfg_attr( bootstrap, feature( let_chains) ) ]
8
9
#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/" ) ]
9
10
#![ doc( rust_logo) ]
10
11
#![ feature( assert_matches) ]
11
12
#![ feature( autodiff) ]
12
13
#![ feature( box_patterns) ]
13
14
#![ feature( decl_macro) ]
14
15
#![ feature( if_let_guard) ]
15
- #![ 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 6
6
7
7
// tidy-alphabetical-start
8
8
#![ allow( internal_features) ]
9
+ #![ cfg_attr( bootstrap, feature( let_chains) ) ]
9
10
#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/" ) ]
10
11
#![ doc( rust_logo) ]
11
12
#![ feature( assert_matches) ]
15
16
#![ feature( if_let_guard) ]
16
17
#![ feature( impl_trait_in_assoc_type) ]
17
18
#![ feature( iter_intersperse) ]
18
- #![ 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 2
2
#![ allow( internal_features) ]
3
3
#![ allow( rustc:: diagnostic_outside_of_impl) ]
4
4
#![ allow( rustc:: untranslatable_diagnostic) ]
5
+ #![ cfg_attr( bootstrap, feature( let_chains) ) ]
5
6
#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/" ) ]
6
7
#![ doc( rust_logo) ]
7
8
#![ feature( assert_matches) ]
8
9
#![ feature( box_patterns) ]
9
10
#![ feature( file_buffered) ]
10
11
#![ feature( if_let_guard) ]
11
- #![ 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 1
1
// tidy-alphabetical-start
2
2
#![ allow( internal_features) ]
3
3
#![ allow( rustc:: diagnostic_outside_of_impl) ]
4
+ #![ cfg_attr( bootstrap, feature( let_chains) ) ]
4
5
#![ doc( rust_logo) ]
5
6
#![ feature( assert_matches) ]
6
7
#![ feature( box_patterns) ]
7
8
#![ feature( decl_macro) ]
8
9
#![ feature( if_let_guard) ]
9
- #![ 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 7
7
// tidy-alphabetical-start
8
8
#![ allow( internal_features) ]
9
9
#![ allow( rustc:: untranslatable_diagnostic) ] // FIXME: make this translatable
10
+ #![ cfg_attr( bootstrap, feature( let_chains) ) ]
10
11
#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/" ) ]
11
12
#![ doc( rust_logo) ]
12
13
#![ feature( decl_macro) ]
13
- #![ 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 7
7
#![ allow( internal_features) ]
8
8
#![ allow( rustc:: diagnostic_outside_of_impl) ]
9
9
#![ allow( rustc:: untranslatable_diagnostic) ]
10
+ #![ cfg_attr( bootstrap, feature( let_chains) ) ]
10
11
#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/" ) ]
11
12
#![ doc( rust_logo) ]
12
13
#![ feature( array_windows) ]
17
18
#![ feature( default_field_values) ]
18
19
#![ feature( error_reporter) ]
19
20
#![ feature( if_let_guard) ]
20
- #![ 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 1
1
// tidy-alphabetical-start
2
2
#![ allow( internal_features) ]
3
3
#![ allow( rustc:: diagnostic_outside_of_impl) ]
4
+ #![ cfg_attr( bootstrap, feature( let_chains) ) ]
4
5
#![ doc( rust_logo) ]
5
6
#![ feature( array_windows) ]
6
7
#![ feature( associated_type_defaults) ]
7
8
#![ feature( if_let_guard) ]
8
- #![ 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 4
4
5
5
// tidy-alphabetical-start
6
6
#![ allow( internal_features) ]
7
+ #![ cfg_attr( bootstrap, feature( let_chains) ) ]
7
8
#![ feature( associated_type_defaults) ]
8
9
#![ feature( box_patterns) ]
9
10
#![ feature( closure_track_caller) ]
10
11
#![ feature( debug_closure_helpers) ]
11
12
#![ feature( exhaustive_patterns) ]
12
- #![ 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 @@ -59,6 +59,7 @@ This API is completely unstable and subject to change.
59
59
#![ allow( internal_features) ]
60
60
#![ allow( rustc:: diagnostic_outside_of_impl) ]
61
61
#![ allow( rustc:: untranslatable_diagnostic) ]
62
+ #![ cfg_attr( bootstrap, feature( let_chains) ) ]
62
63
#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/" ) ]
63
64
#![ doc( rust_logo) ]
64
65
#![ feature( assert_matches) ]
@@ -67,7 +68,6 @@ This API is completely unstable and subject to change.
67
68
#![ feature( if_let_guard) ]
68
69
#![ feature( iter_from_coroutine) ]
69
70
#![ feature( iter_intersperse) ]
70
- #![ 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 1
1
// tidy-alphabetical-start
2
2
#![ allow( rustc:: diagnostic_outside_of_impl) ]
3
3
#![ allow( rustc:: untranslatable_diagnostic) ]
4
+ #![ cfg_attr( bootstrap, feature( let_chains) ) ]
4
5
#![ feature( array_windows) ]
5
6
#![ feature( box_patterns) ]
6
7
#![ feature( if_let_guard) ]
7
8
#![ feature( iter_intersperse) ]
8
- #![ 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 16
16
#![ allow( internal_features) ]
17
17
#![ allow( rustc:: diagnostic_outside_of_impl) ]
18
18
#![ allow( rustc:: untranslatable_diagnostic) ]
19
+ #![ cfg_attr( bootstrap, feature( let_chains) ) ]
19
20
#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/" ) ]
20
21
#![ doc( rust_logo) ]
21
22
#![ feature( assert_matches) ]
22
23
#![ feature( extend_one) ]
23
24
#![ feature( iterator_try_collect) ]
24
- #![ 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 1
1
// tidy-alphabetical-start
2
+ #![ cfg_attr( bootstrap, feature( let_chains) ) ]
2
3
#![ feature( decl_macro) ]
3
4
#![ feature( file_buffered) ]
4
5
#![ feature( iter_intersperse) ]
5
- #![ 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 21
21
22
22
// tidy-alphabetical-start
23
23
#![ allow( internal_features) ]
24
+ #![ cfg_attr( bootstrap, feature( let_chains) ) ]
24
25
#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/" ) ]
25
26
#![ doc( rust_logo) ]
26
27
#![ feature( array_windows) ]
27
28
#![ feature( assert_matches) ]
28
29
#![ feature( box_patterns) ]
29
30
#![ feature( if_let_guard) ]
30
31
#![ feature( iter_order_by) ]
31
- #![ 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
+ #![ cfg_attr( bootstrap, feature( let_chains) ) ]
3
4
#![ feature( if_let_guard) ]
4
- #![ 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 1
1
// tidy-alphabetical-start
2
2
#![ allow( internal_features) ]
3
+ #![ cfg_attr( bootstrap, feature( let_chains) ) ]
3
4
#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/" ) ]
4
5
#![ doc( rust_logo) ]
5
6
#![ feature( coroutines) ]
8
9
#![ feature( file_buffered) ]
9
10
#![ feature( if_let_guard) ]
10
11
#![ feature( iter_from_coroutine) ]
11
- #![ 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 29
29
#![ allow( rustc:: diagnostic_outside_of_impl) ]
30
30
#![ allow( rustc:: potential_query_instability) ]
31
31
#![ allow( rustc:: untranslatable_diagnostic) ]
32
+ #![ cfg_attr( bootstrap, feature( let_chains) ) ]
32
33
#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/" ) ]
33
34
#![ doc( rust_logo) ]
34
35
#![ feature( allocator_api) ]
48
49
#![ feature( if_let_guard) ]
49
50
#![ feature( intra_doc_pointers) ]
50
51
#![ feature( iter_from_coroutine) ]
51
- #![ 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 3
3
// tidy-alphabetical-start
4
4
#![ allow( rustc:: diagnostic_outside_of_impl) ]
5
5
#![ allow( rustc:: untranslatable_diagnostic) ]
6
+ #![ cfg_attr( bootstrap, feature( let_chains) ) ]
6
7
#![ feature( assert_matches) ]
7
8
#![ feature( box_patterns) ]
8
9
#![ feature( if_let_guard) ]
9
- #![ 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 1
1
// tidy-alphabetical-start
2
+ #![ cfg_attr( bootstrap, feature( let_chains) ) ]
2
3
#![ feature( assert_matches) ]
3
4
#![ feature( associated_type_defaults) ]
4
5
#![ feature( box_patterns) ]
5
6
#![ feature( exact_size_is_empty) ]
6
7
#![ feature( file_buffered) ]
7
- #![ 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 1
1
// tidy-alphabetical-start
2
+ #![ cfg_attr( bootstrap, feature( let_chains) ) ]
2
3
#![ feature( array_windows) ]
3
4
#![ feature( assert_matches) ]
4
5
#![ feature( box_patterns) ]
7
8
#![ feature( file_buffered) ]
8
9
#![ feature( if_let_guard) ]
9
10
#![ feature( impl_trait_in_assoc_type) ]
10
- #![ 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 1
1
// tidy-alphabetical-start
2
+ #![ cfg_attr( bootstrap, feature( let_chains) ) ]
2
3
#![ feature( array_windows) ]
3
4
#![ feature( file_buffered) ]
4
5
#![ feature( if_let_guard) ]
5
6
#![ feature( impl_trait_in_assoc_type) ]
6
- #![ 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 4
4
#![ allow( internal_features) ]
5
5
#![ allow( rustc:: diagnostic_outside_of_impl) ]
6
6
#![ allow( rustc:: untranslatable_diagnostic) ]
7
+ #![ cfg_attr( bootstrap, feature( let_chains) ) ]
7
8
#![ feature( array_windows) ]
8
9
#![ feature( assert_matches) ]
9
10
#![ feature( box_patterns) ]
10
11
#![ feature( debug_closure_helpers) ]
11
12
#![ feature( if_let_guard) ]
12
13
#![ feature( iter_intersperse) ]
13
- #![ 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 6
6
7
7
// tidy-alphabetical-start
8
8
#![ allow( internal_features) ]
9
+ #![ cfg_attr( bootstrap, feature( let_chains) ) ]
9
10
#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/" ) ]
10
11
#![ doc( rust_logo) ]
11
- #![ 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;
You can’t perform that action at this time.
0 commit comments