diff options
| author | bors <bors@rust-lang.org> | 2020-09-13 09:18:14 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-09-13 09:18:14 +0000 |
| commit | b6c84553c4fa47174d2510541a90243000fb44d8 (patch) | |
| tree | 061e867b571c354b467b11bce0f45ebf0481b06a /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 4e48010b95ed1021677420a9c74d8fed2ce424d4 (diff) | |
| parent | a67d248b13e8ac6f83df8994f59e7b89f064339e (diff) | |
| download | rust-b6c84553c4fa47174d2510541a90243000fb44d8.tar.gz rust-b6c84553c4fa47174d2510541a90243000fb44d8.zip | |
Auto merge of #76658 - Aaron1011:fix/encode-dummy-loc-span, r=lcnr
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 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
