about summary refs log tree commit diff
path: root/src/librustc_const_math/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustc_const_math/lib.rs')
-rw-r--r--src/librustc_const_math/lib.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/librustc_const_math/lib.rs b/src/librustc_const_math/lib.rs
index 0533f10104a..c6893acb31f 100644
--- a/src/librustc_const_math/lib.rs
+++ b/src/librustc_const_math/lib.rs
@@ -22,9 +22,8 @@
 #![feature(i128)]
 #![feature(i128_type)]
 
-#![cfg_attr(stage0, feature(const_fn))]
-#![cfg_attr(not(stage0), feature(const_min_value))]
-#![cfg_attr(not(stage0), feature(const_max_value))]
+#![feature(const_min_value)]
+#![feature(const_max_value)]
 
 extern crate rustc_apfloat;