about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Woerister <michaelwoerister@posteo>2017-10-26 15:50:29 +0200
committerMichael Woerister <michaelwoerister@posteo>2017-10-26 16:23:31 +0200
commiteea916068cc0d0d5d39fc4b02c2c4c88ae9a9138 (patch)
tree34e284f2d6b31799a988a754d3772a4a3462c5ad
parente0febe71449008fd35ccc762b0a42d106aa8e4f7 (diff)
downloadrust-eea916068cc0d0d5d39fc4b02c2c4c88ae9a9138.tar.gz
rust-eea916068cc0d0d5d39fc4b02c2c4c88ae9a9138.zip
incr.comp.: Fix invalid DepNode assignment in HIR map.
-rw-r--r--src/librustc/hir/map/collector.rs2
1 files changed, 1 insertions, 1 deletions
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);