Skip to content

Commit

Permalink
ICH: Don't hash span expansion kind twice.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwoerister committed Sep 1, 2016
1 parent 5dd36bd commit 6785256
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/librustc_incremental/calculate_svh/svh_visitor.rs
Expand Up @@ -163,8 +163,6 @@ impl<'a, 'hash, 'tcx> StrictVersionHashVisitor<'a, 'hash, 'tcx> {
_ => SawSpanExpnKind::SomeExpansion,
};

expansion_kind.hash(self.st);

SawSpan(&file1.name[..], line1, col1,
&file2.name[..], line2, col2,
expansion_kind).hash(self.st);
Expand Down

0 comments on commit 6785256

Please sign in to comment.