about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-03-27 20:47:15 +0000
committerMichael Goulet <michael@errs.io>2023-03-27 20:47:15 +0000
commitf738b44c6d0b7401fb12baa335e09c7392e15ebb (patch)
tree669b378a21d48ca2bd3802d51057c811ab3e4f77
parentdd19135b044cd21a9c3ae7ae87620bf41a208066 (diff)
downloadrust-f738b44c6d0b7401fb12baa335e09c7392e15ebb.tar.gz
rust-f738b44c6d0b7401fb12baa335e09c7392e15ebb.zip
no shadow plz
-rw-r--r--compiler/rustc_query_system/src/query/plumbing.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_query_system/src/query/plumbing.rs b/compiler/rustc_query_system/src/query/plumbing.rs
index 0326869826b..519ea5ffed1 100644
--- a/compiler/rustc_query_system/src/query/plumbing.rs
+++ b/compiler/rustc_query_system/src/query/plumbing.rs
@@ -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:?}"),
         });