Skip to content

Commit 55f7662

Browse files
committed
Update a compiler-test to the Default changes
1 parent 36641ce commit 55f7662

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/run-pass-fulldeps/dropck_tarena_sound_drop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ impl<'a> HasId for &'a usize { fn count(&self) -> usize { 1 } }
4646
fn f<'a, 'b>(_arena: &'a TypedArena<C<'b>>) {}
4747

4848
fn main() {
49-
let arena: TypedArena<C> = TypedArena::new();
49+
let arena: TypedArena<C> = TypedArena::default();
5050
f(&arena);
5151
}

0 commit comments

Comments
 (0)