Files
rust/compiler/rustc_span/src
bors 180fdffa17 Auto merge of #80654 - Aaron1011:fix/dummy-span-ctxt, r=wesleywiser
Properly handle `SyntaxContext` of dummy spans in incr comp

Fixes #80336

Due to macro expansion, we may end up with spans with an invalid
location and non-root `SyntaxContext`. This commits preserves the
`SyntaxContext` of such spans in the incremental cache, and ensures
that we always hash the `SyntaxContext` when computing the `Fingerprint`
of a `Span`

Previously, we would discard the `SyntaxContext` during serialization to
the incremental cache, causing the span's `Fingerprint` to change across
compilation sessions.
2021-01-13 23:24:31 +00:00
..
2020-08-30 18:45:07 +03:00
2020-08-30 18:45:07 +03:00
2020-12-03 17:08:19 -05:00
2020-12-31 19:06:09 +01:00
2020-08-30 18:45:07 +03:00
2020-12-25 14:02:52 -08:00
2020-12-25 14:02:52 -08:00
2020-08-30 18:45:07 +03:00