Skip to content

Commit 5c01685

Browse files
committed
auto merge of #9635 : catamorphism/rust/issue-7999, r=catamorphism
Closes #7999
2 parents 5011bbf + 60eb04a commit 5c01685

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/run-pass/unit-like-struct-drop-run.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
// except according to those terms.
1010

1111
// Make sure the destructor is run for unit-like structs.
12-
// xfail-fast
1312

1413
use std::task;
1514

@@ -21,7 +20,7 @@ impl Drop for Foo {
2120
}
2221
}
2322

24-
fn main() {
23+
pub fn main() {
2524
let x = do task::try {
2625
let _b = Foo;
2726
};

0 commit comments

Comments
 (0)