Skip to content

Commit 54eb222

Browse files
committed
Update more internals tests to default
1 parent ab3f37e commit 54eb222

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/run-pass-fulldeps/regions-mock-tcx.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ fn compute_types<'tcx,'ast>(tcx: &mut TypeContext<'tcx,'ast>,
133133
}
134134

135135
pub fn main() {
136-
let ty_arena = TypedArena::new();
137-
let ast_arena = TypedArena::new();
136+
let ty_arena = TypedArena::default();
137+
let ast_arena = TypedArena::default();
138138
let mut tcx = TypeContext::new(&ty_arena, &ast_arena);
139139
let ast = tcx.ast(ExprInt);
140140
let ty = compute_types(&mut tcx, ast);

0 commit comments

Comments
 (0)