Skip to content

Commit 99c6cc0

Browse files
committed
rustdoc: placate new scoping/drop rules.
1 parent 964db8d commit 99c6cc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/core.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ pub fn run_core(search_paths: SearchPaths, cfgs: Vec<String>, externs: Externs,
122122
.expect("phase_2_configure_and_expand aborted in rustdoc!");
123123

124124
let mut forest = ast_map::Forest::new(krate);
125+
let arenas = ty::CtxtArenas::new();
125126
let ast_map = driver::assign_node_ids_and_map(&sess, &mut forest);
126127

127-
let arenas = ty::CtxtArenas::new();
128128
let ty::CrateAnalysis {
129129
exported_items, public_items, ty_cx, ..
130130
} = driver::phase_3_run_analysis_passes(sess,

0 commit comments

Comments
 (0)