Skip to content

Commit 7ade1c4

Browse files
committed
update for new return type of entry_fn.borrow()
1 parent a65ad8e commit 7ade1c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/driver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ fn after_analysis_run_main<'a, 'tcx>(config: ::ExecutionConfig)
6868
let tcx = state.tcx.unwrap();
6969
let limits = resource_limits_from_attributes(state);
7070

71-
if let Some((entry_node_id, _)) = *state.session.entry_fn.borrow() {
71+
if let Some((entry_node_id, _, _)) = *state.session.entry_fn.borrow() {
7272
let entry_def_id = tcx.hir.local_def_id(entry_node_id);
7373

7474
let mut executor = ::executor::Executor::new(tcx, entry_def_id, limits, config.clone());

0 commit comments

Comments
 (0)