Skip to content

Commit 5209f60

Browse files
committed
Remove some feature(debug_closure_helpers) attributes
1 parent 3bc392b commit 5209f60

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

compiler/rustc_hir/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
//! [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/hir.html
44
55
// tidy-alphabetical-start
6+
#![cfg_attr(bootstrap, feature(debug_closure_helpers))]
67
#![feature(associated_type_defaults)]
78
#![feature(closure_track_caller)]
8-
#![feature(debug_closure_helpers)]
99
#![feature(exhaustive_patterns)]
1010
#![feature(never_type)]
1111
#![feature(variant_count)]

compiler/rustc_hir_analysis/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ This API is completely unstable and subject to change.
5959
#![allow(internal_features)]
6060
#![allow(rustc::diagnostic_outside_of_impl)]
6161
#![allow(rustc::untranslatable_diagnostic)]
62+
#![cfg_attr(bootstrap, feature(debug_closure_helpers))]
6263
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
6364
#![doc(rust_logo)]
6465
#![feature(assert_matches)]
65-
#![feature(debug_closure_helpers)]
6666
#![feature(gen_blocks)]
6767
#![feature(if_let_guard)]
6868
#![feature(iter_intersperse)]

compiler/rustc_target/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
1010
// tidy-alphabetical-start
1111
#![allow(internal_features)]
12+
#![cfg_attr(bootstrap, feature(debug_closure_helpers))]
1213
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
1314
#![doc(rust_logo)]
14-
#![feature(debug_closure_helpers)]
1515
#![feature(iter_intersperse)]
1616
#![feature(rustdoc_internals)]
1717
// tidy-alphabetical-end

src/librustdoc/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// tidy-alphabetical-start
2+
#![cfg_attr(bootstrap, feature(debug_closure_helpers))]
23
#![doc(
34
html_root_url = "https://doc.rust-lang.org/nightly/",
45
html_playground_url = "https://play.rust-lang.org/"
@@ -7,7 +8,6 @@
78
#![feature(ascii_char_variants)]
89
#![feature(assert_matches)]
910
#![feature(box_patterns)]
10-
#![feature(debug_closure_helpers)]
1111
#![feature(file_buffered)]
1212
#![feature(format_args_nl)]
1313
#![feature(if_let_guard)]

0 commit comments

Comments
 (0)