Skip to content

Commit 84f7ecc

Browse files
committed
Adust arena test: can no longer allocate recursively
1 parent 6c0c3a4 commit 84f7ecc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/libstd/arena.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,9 +315,6 @@ fn test_arena_destructors_fail() {
315315
}
316316
// Now, fail while allocating
317317
do arena.alloc::<@int> {
318-
// First, recursively allocate something else; that needs to
319-
// get freed too.
320-
do arena.alloc { @20 };
321318
// Now fail.
322319
fail!();
323320
};

0 commit comments

Comments
 (0)