Skip to content

Commit eea9160

Browse files
incr.comp.: Fix invalid DepNode assignment in HIR map.
1 parent e0febe7 commit eea9160

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/hir/map/collector.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ impl<'a, 'hir> NodeCollector<'a, 'hir> {
219219
f: F) {
220220
let prev_owner = self.current_dep_node_owner;
221221
let prev_signature_dep_index = self.current_signature_dep_index;
222-
let prev_full_dep_index = self.current_signature_dep_index;
222+
let prev_full_dep_index = self.current_full_dep_index;
223223
let prev_in_body = self.currently_in_body;
224224

225225
let def_path_hash = self.definitions.def_path_hash(dep_node_owner);

0 commit comments

Comments
 (0)