about summary refs log tree commit diff
path: root/src/libcore/float.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/float.rs')
-rw-r--r--src/libcore/float.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/float.rs b/src/libcore/float.rs
index 4877e12204a..df28426dc3a 100644
--- a/src/libcore/float.rs
+++ b/src/libcore/float.rs
@@ -52,6 +52,7 @@ const neg_infinity: float = -1.0/0.0;
 
 /* Module: consts */
 mod consts {
+    #[legacy_exports];
 
     // FIXME (requires Issue #1433 to fix): replace with mathematical
     // constants from cmath.