From eea916068cc0d0d5d39fc4b02c2c4c88ae9a9138 Mon Sep 17 00:00:00 2001 From: Michael Woerister Date: Thu, 26 Oct 2017 15:50:29 +0200 Subject: [PATCH] incr.comp.: Fix invalid DepNode assignment in HIR map. --- src/librustc/hir/map/collector.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc/hir/map/collector.rs b/src/librustc/hir/map/collector.rs index 816793cc1aa..2f4b62dcbf7 100644 --- a/src/librustc/hir/map/collector.rs +++ b/src/librustc/hir/map/collector.rs @@ -219,7 +219,7 @@ impl<'a, 'hir> NodeCollector<'a, 'hir> { f: F) { let prev_owner = self.current_dep_node_owner; let prev_signature_dep_index = self.current_signature_dep_index; - let prev_full_dep_index = self.current_signature_dep_index; + let prev_full_dep_index = self.current_full_dep_index; let prev_in_body = self.currently_in_body; let def_path_hash = self.definitions.def_path_hash(dep_node_owner);