diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2020-03-24 07:13:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-24 07:13:35 +0100 |
| commit | d626f5bc6631b1f694ab972c53316aebdae22842 (patch) | |
| tree | f3d2b2f286ffb4ec0c0494f04429973710470747 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 3d8b9614d3aae6ef8bd877e3f020f7ac8ad7f7e0 (diff) | |
| parent | 86b8dea5ecb10dd12f9e352e9f31ced88a16e5e8 (diff) | |
| download | rust-d626f5bc6631b1f694ab972c53316aebdae22842.tar.gz rust-d626f5bc6631b1f694ab972c53316aebdae22842.zip | |
Rollup merge of #70077 - Aaron1011:feature/new-def-path-ident, r=petrochenkov
Store idents for `DefPathData` into crate metadata Previously, we threw away the `Span` associated with a definition's identifier when we encoded crate metadata, causing us to lose location and hygiene information. We now store the identifier's `Span` in a side table, which gets encoded into the crate metadata. When we decode items from the metadata, we combine the name and span back into an `Ident`. This improves the output of several tests, which previously had messages suppressed due to dummy spans. This is a prerequisite for #68686, since throwing away a `Span` means that we lose hygiene information.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
