Rollup merge of #109678 - compiler-errors:dont-shadow-in-incremental_verify_ich_failed, r=Nilstrieb
Don't shadow the `dep_node` var in `incremental_verify_ich_failed` It's better to debug print `DepNode` instead of `ErrorGuaranteed` one line below :^) fixes #109676
This commit is contained in:
commit
fceb3d49f4
@ -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:?}"),
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user