mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
a67d248b13
Previously, we would throw away the `SyntaxContext` of any span with a dummy location during metadata encoding. This commit makes metadata Span encoding consistent with incr-cache Span encoding - an 'invalid span' tag is only used when it doesn't lose any information.