Skip to content

Commit 5bed94c

Browse files
Remove uses of const_loop in rustc
1 parent 86e1555 commit 5bed94c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libcore/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
#![feature(const_alloc_layout)]
7575
#![feature(const_discriminant)]
7676
#![cfg_attr(bootstrap, feature(const_if_match))]
77-
#![feature(const_loop)]
77+
#![cfg_attr(bootstrap, feature(const_loop))]
7878
#![feature(const_checked_int_methods)]
7979
#![feature(const_euclidean_int_methods)]
8080
#![feature(const_overflowing_int_methods)]

src/librustc_mir/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Rust MIR: a lowered representation of Rust.
1111
#![feature(box_syntax)]
1212
#![feature(const_fn)]
1313
#![cfg_attr(bootstrap, feature(const_if_match))]
14-
#![feature(const_loop)]
14+
#![cfg_attr(bootstrap, feature(const_loop))]
1515
#![feature(const_panic)]
1616
#![feature(crate_visibility_modifier)]
1717
#![feature(decl_macro)]

0 commit comments

Comments
 (0)