diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2021-03-14 19:03:16 -0400 |
|---|---|---|
| committer | Aaron Hill <aa1ronham@gmail.com> | 2021-03-14 20:22:13 -0400 |
| commit | 7429c688a5988d1f7f836f870b8689c44fa3c9de (patch) | |
| tree | 360f3ca4256e037a2e46f635c0820ab3db613caf /library/std/src/sys/unix/stack_overflow.rs | |
| parent | bb4cdf8ec034dca5c056ec9295f38062e5b7e871 (diff) | |
| download | rust-7429c688a5988d1f7f836f870b8689c44fa3c9de.tar.gz rust-7429c688a5988d1f7f836f870b8689c44fa3c9de.zip | |
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.
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
