about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libcore/tests/mem.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libcore/tests/mem.rs b/src/libcore/tests/mem.rs
index 8337ab10341..2329bf97ff5 100644
--- a/src/libcore/tests/mem.rs
+++ b/src/libcore/tests/mem.rs
@@ -142,8 +142,4 @@ fn test_const_forget() {
     const fn const_forget_box<T>(x: Box<T>) {
         forget(x);
     }
-
-    // Call the forget_box at runtime,
-    // as we can't const-construct a box yet.
-    const_forget_box(Box::new(0i32));
 }