We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
was_fully_remapped
1 parent 230e91d commit 7227bfeCopy full SHA for 7227bfe
compiler/rustc_span/src/lib.rs
@@ -313,7 +313,7 @@ impl Hash for RealFileName {
313
// remapped path if that exists. This is because remapped paths to
314
// sysroot crates (/rust/$hash or /rust/$version) remain stable even
315
// if the corresponding local path changes.
316
- if !self.scopes.is_all() {
+ if !self.was_fully_remapped() {
317
self.local.hash(state);
318
}
319
self.maybe_remapped.hash(state);
0 commit comments