From: Oliver Scherer Date: Tue, 16 Oct 2018 17:51:12 +0000 (+0200) Subject: Update a compiler-test to the `Default` changes X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=55f76628ee053f8e331c1898f20aaefe4dd9bc7f;p=rust.git Update a compiler-test to the `Default` changes --- diff --git a/src/test/run-pass-fulldeps/dropck_tarena_sound_drop.rs b/src/test/run-pass-fulldeps/dropck_tarena_sound_drop.rs index 48f54188796..9fa0b40d49c 100644 --- a/src/test/run-pass-fulldeps/dropck_tarena_sound_drop.rs +++ b/src/test/run-pass-fulldeps/dropck_tarena_sound_drop.rs @@ -46,6 +46,6 @@ impl<'a> HasId for &'a usize { fn count(&self) -> usize { 1 } } fn f<'a, 'b>(_arena: &'a TypedArena>) {} fn main() { - let arena: TypedArena = TypedArena::new(); + let arena: TypedArena = TypedArena::default(); f(&arena); }