]> git.lizzy.rs Git - rust.git/commitdiff
Properly encode spans with a dummy location and non-root `SyntaxContext`
authorAaron Hill <aa1ronham@gmail.com>
Sun, 13 Sep 2020 03:26:17 +0000 (23:26 -0400)
committerAaron Hill <aa1ronham@gmail.com>
Sun, 13 Sep 2020 03:26:17 +0000 (23:26 -0400)
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.


No differences found