Skip to content

Commit ec8cd6d

Browse files
authored
Merge pull request rust-lang#194 from RalfJung/test
Enable a test that was accidentally left disabled
2 parents 7b9abf7 + 4ac9fa6 commit ec8cd6d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/run-pass/drop_empty_slice.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
#![feature(box_syntax)]
2-
// This disables the test completely:
3-
// ignore-stage1
42

53
fn main() {
6-
// With the nested Vec, this is calling Offset(Unique::empty(), 0).
4+
// With the nested Vec, this is calling Offset(Unique::empty(), 0) on drop.
75
let args : Vec<Vec<i32>> = Vec::new();
8-
let local = box args;
6+
let _ = box args;
97
}

0 commit comments

Comments
 (0)