Skip to content

Commit 0356813

Browse files
committed
Dont use gate bind_by_move_pattern_guards internally.
1 parent 2a21c0f commit 0356813

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/libcore/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
#![feature(link_llvm_intrinsics)]
8888
#![feature(never_type)]
8989
#![feature(nll)]
90-
#![feature(bind_by_move_pattern_guards)]
90+
#![cfg_attr(bootstrap, feature(bind_by_move_pattern_guards))]
9191
#![feature(exhaustive_patterns)]
9292
#![feature(no_core)]
9393
#![feature(on_unimplemented)]

src/librustc_passes/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#![feature(in_band_lifetimes)]
1010
#![feature(nll)]
11-
#![feature(bind_by_move_pattern_guards)]
11+
#![cfg_attr(bootstrap, feature(bind_by_move_pattern_guards))]
1212

1313
#![recursion_limit="256"]
1414

src/librustdoc/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/",
22
html_playground_url = "https://play.rust-lang.org/")]
33

4-
#![feature(bind_by_move_pattern_guards)]
4+
#![cfg_attr(bootstrap, feature(bind_by_move_pattern_guards))]
55
#![feature(rustc_private)]
66
#![feature(arbitrary_self_types)]
77
#![feature(box_patterns)]

src/libstd/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@
238238
#![feature(array_error_internals)]
239239
#![feature(asm)]
240240
#![feature(associated_type_bounds)]
241-
#![feature(bind_by_move_pattern_guards)]
241+
#![cfg_attr(bootstrap, feature(bind_by_move_pattern_guards))]
242242
#![feature(box_syntax)]
243243
#![feature(c_variadic)]
244244
#![feature(cfg_target_has_atomic)]

src/libsyntax/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/",
88
test(attr(deny(warnings))))]
99

10-
#![feature(bind_by_move_pattern_guards)]
10+
#![cfg_attr(bootstrap, feature(bind_by_move_pattern_guards))]
1111
#![feature(box_syntax)]
1212
#![feature(const_fn)]
1313
#![feature(const_transmute)]

0 commit comments

Comments
 (0)