Skip to content

Commit 382c070

Browse files
committed
rustc_driver: accommodate new lifetime/dtor rules.
1 parent aee4a01 commit 382c070

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_driver/driver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@ pub fn compile_input(sess: Session,
9999
&id[]));
100100

101101
let mut forest = ast_map::Forest::new(expanded_crate);
102+
let arenas = ty::CtxtArenas::new();
102103
let ast_map = assign_node_ids_and_map(&sess, &mut forest);
103104

104105
write_out_deps(&sess, input, &outputs, &id[]);
105106

106-
let arenas = ty::CtxtArenas::new();
107107
let analysis = phase_3_run_analysis_passes(sess,
108108
ast_map,
109109
&arenas,

0 commit comments

Comments
 (0)