about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-09-13 09:18:14 +0000
committerbors <bors@rust-lang.org>2020-09-13 09:18:14 +0000
commitb6c84553c4fa47174d2510541a90243000fb44d8 (patch)
tree061e867b571c354b467b11bce0f45ebf0481b06a /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent4e48010b95ed1021677420a9c74d8fed2ce424d4 (diff)
parenta67d248b13e8ac6f83df8994f59e7b89f064339e (diff)
downloadrust-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 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions