about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/doc-examples.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-08-09 18:19:34 +0000
committerbors <bors@rust-lang.org>2020-08-09 18:19:34 +0000
commit39e593ab14c53fda63c3f2756716c5ad3cbb6465 (patch)
treeeb47a430c721ac4c8c0702b2295fe821289c60b3 /src/test/rustdoc-ui/coverage/doc-examples.rs
parent543f03d24118d3af784aa98c507c00e30c796a0e (diff)
parentef49032297b90e7010b08db04d569dd8a5f0a8f2 (diff)
downloadrust-39e593ab14c53fda63c3f2756716c5ad3cbb6465.tar.gz
rust-39e593ab14c53fda63c3f2756716c5ad3cbb6465.zip
Auto merge of #75137 - Aaron1011:fix/hygiene-skip-expndata, r=petrochenkov
Don't serialize ExpnData for foreign crates

When we encode an ExpnId into the crate metadata, we write out the
CrateNum of the crate that 'owns' the corresponding `ExpnData`, which
is later used to decode the `ExpnData` from its owning crate.

However, we current serialize the `ExpnData` for all `ExpnIds` that we
serialize, even if the `ExpnData` was already serialized into a foreign
crate. This commit skips encoding this kind of `ExpnData`, which should
hopefully speed up metadata encoding and reduce the total metadata size.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/doc-examples.rs')
0 files changed, 0 insertions, 0 deletions