From 4ac9fa67a4473c27c2b8d2f43611d1ca0f113b90 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sun, 11 Jun 2017 21:14:40 -0700 Subject: [PATCH] enable a test that was accidentally left disabled --- tests/run-pass/drop_empty_slice.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/run-pass/drop_empty_slice.rs b/tests/run-pass/drop_empty_slice.rs index 25e7bc329db5..b21c8a612c57 100644 --- a/tests/run-pass/drop_empty_slice.rs +++ b/tests/run-pass/drop_empty_slice.rs @@ -1,9 +1,7 @@ #![feature(box_syntax)] -// This disables the test completely: -// ignore-stage1 fn main() { - // With the nested Vec, this is calling Offset(Unique::empty(), 0). + // With the nested Vec, this is calling Offset(Unique::empty(), 0) on drop. let args : Vec> = Vec::new(); - let local = box args; + let _ = box args; }