about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-03-15 16:22:58 +0100
committerGitHub <noreply@github.com>2021-03-15 16:22:58 +0100
commit9b16c7a712f439a1cf60b539643164401bf0c9b5 (patch)
tree4caf061febb63fc305fa86acb3f9e440218f1eb8 /library/std/src/sys/unix/stack_overflow.rs
parentd1f5f1d156dc68b4ca13678f3a63515df0b2e348 (diff)
parent7429c688a5988d1f7f836f870b8689c44fa3c9de (diff)
downloadrust-9b16c7a712f439a1cf60b539643164401bf0c9b5.tar.gz
rust-9b16c7a712f439a1cf60b539643164401bf0c9b5.zip
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.
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions