We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe2d728 commit 34e92bbCopy full SHA for 34e92bb
compiler/rustc_span/src/lib.rs
@@ -1902,9 +1902,10 @@ where
1902
return;
1903
}
1904
1905
+ self.ctxt().hash_stable(ctx, hasher);
1906
+
1907
if self.is_dummy() {
1908
Hash::hash(&TAG_INVALID_SPAN, hasher);
- self.ctxt().hash_stable(ctx, hasher);
1909
1910
1911
@@ -1917,7 +1918,6 @@ where
1917
1918
Some(pos) => pos,
1919
None => {
1920
- span.ctxt.hash_stable(ctx, hasher);
1921
1922
1923
};
@@ -1944,7 +1944,6 @@ where
1944
let len = (span.hi - span.lo).0;
1945
Hash::hash(&col_line, hasher);
1946
Hash::hash(&len, hasher);
1947
1948
1949
1950
0 commit comments