Skip to content

Commit

Permalink
no shadow plz
Browse files Browse the repository at this point in the history
  • Loading branch information
compiler-errors committed Mar 27, 2023
1 parent dd19135 commit f738b44
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions compiler/rustc_query_system/src/query/plumbing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -703,8 +703,7 @@ fn incremental_verify_ich_failed<Tcx>(
};

let dep_node = tcx.dep_graph().data().unwrap().prev_node_of(prev_index);

let dep_node = tcx.sess().emit_err(crate::error::IncrementCompilation {
tcx.sess().emit_err(crate::error::IncrementCompilation {
run_cmd,
dep_node: format!("{dep_node:?}"),
});
Expand Down

0 comments on commit f738b44

Please sign in to comment.