about summary refs log tree commit diff
path: root/src/libcore/lib.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2018-12-24 19:24:48 +0100
committerMazdak Farrokhzad <twingoow@gmail.com>2018-12-31 03:36:46 +0100
commite258489eae1d5e0b8a624e1729fb64fbcb6e29ee (patch)
treee946ded6678df1a2acd1f8de0a368864771416ae /src/libcore/lib.rs
parent7e7c337aef6e87f6152771351eaed32b31d666f7 (diff)
downloadrust-e258489eae1d5e0b8a624e1729fb64fbcb6e29ee.tar.gz
rust-e258489eae1d5e0b8a624e1729fb64fbcb6e29ee.zip
stabilize const_int_rotate
Diffstat (limited to 'src/libcore/lib.rs')
-rw-r--r--src/libcore/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/lib.rs b/src/libcore/lib.rs
index a613c1afd09..dc4a5fbed7c 100644
--- a/src/libcore/lib.rs
+++ b/src/libcore/lib.rs
@@ -113,7 +113,7 @@
 #![feature(const_slice_len)]
 #![feature(const_str_as_bytes)]
 #![feature(const_str_len)]
-#![feature(const_int_rotate)]
+#![cfg_attr(stage0, feature(const_int_rotate))]
 #![feature(const_int_sign)]
 #![feature(const_int_conversion)]
 #![feature(const_transmute)]