diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-03-25 01:34:31 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-25 01:34:31 +0100 |
| commit | e039dc813ba04c71469df04b3f21748ecbba77a9 (patch) | |
| tree | 6a483fcff469661cef1f8af60c4b57c1273ff85f /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 1fcb8fc3e0bc82fc63bbb8baa6c6325d361115fc (diff) | |
| parent | e169261a6fc4410cd1ff9cdc37da6ef3cc5e0600 (diff) | |
| download | rust-e039dc813ba04c71469df04b3f21748ecbba77a9.tar.gz rust-e039dc813ba04c71469df04b3f21748ecbba77a9.zip | |
Rollup merge of #95270 - michaelwoerister:fix-box-unsized-debuginfo, r=wesleywiser
debuginfo: Fix debuginfo for Box<T> where T is unsized. Before this fix, the debuginfo for the fields was generated from the struct defintion of Box<T>, but (at least at the moment) the compiler pretends that Box<T> is just a (fat) pointer, so the fields need to be `pointer` and `vtable` instead of `__0: Unique<T>` and `__1: Allocator`. This is meant as a temporary mitigation until we can make sure that simply treating Box as a regular struct in debuginfo does not cause too much breakage in the ecosystem. r? ````@wesleywiser````
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
