diff options
| author | bors <bors@rust-lang.org> | 2020-08-09 18:19:34 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-08-09 18:19:34 +0000 |
| commit | 39e593ab14c53fda63c3f2756716c5ad3cbb6465 (patch) | |
| tree | eb47a430c721ac4c8c0702b2295fe821289c60b3 /src/test/rustdoc-ui/coverage/doc-examples.rs | |
| parent | 543f03d24118d3af784aa98c507c00e30c796a0e (diff) | |
| parent | ef49032297b90e7010b08db04d569dd8a5f0a8f2 (diff) | |
| download | rust-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
