diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2020-09-12 23:26:17 -0400 |
|---|---|---|
| committer | Aaron Hill <aa1ronham@gmail.com> | 2020-09-12 23:26:17 -0400 |
| commit | a67d248b13e8ac6f83df8994f59e7b89f064339e (patch) | |
| tree | 71a3a624d11b9bafb692710ac5adcc82264b6309 /src/test/codegen/src-hash-algorithm | |
| parent | 498dab02562a67d503fc1cf0eca0968f44cfecfa (diff) | |
| download | rust-a67d248b13e8ac6f83df8994f59e7b89f064339e.tar.gz rust-a67d248b13e8ac6f83df8994f59e7b89f064339e.zip | |
Properly encode spans with a dummy location and non-root `SyntaxContext`
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.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
