Files
rust/compiler/rustc_middle/src
Dylan DPC 9b16c7a712 Rollup merge of #83132 - Aaron1011:fix/incr-cache-dummy, r=estebank
Don't encode file information for span with a dummy location

Fixes #83112

The location information for a dummy span isn't real, so don't encode
it. This brings the incr comp cache code into line with the Span
`StableHash` impl, which doesn't hash the location information for dummy
spans.

Previously, we would attempt to load the 'original' file from a dummy
span - if the file id changed (e.g. due to being moved on disk), we would get an
ICE, since the Span was still valid due to its hash being unchanged.
2021-03-15 16:22:58 +01:00
..
2021-03-11 12:24:58 +01:00
2021-03-09 19:28:01 +01:00
2020-12-03 09:50:10 -08:00
2021-02-19 17:51:56 +01:00