diff options
| author | Michael Woerister <michaelwoerister@posteo> | 2022-03-24 10:59:28 +0100 |
|---|---|---|
| committer | Michael Woerister <michaelwoerister@posteo> | 2022-03-24 11:12:41 +0100 |
| commit | e169261a6fc4410cd1ff9cdc37da6ef3cc5e0600 (patch) | |
| tree | 8ab3caaab85b2286ebcd229b292da008010e2d6d /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | 600a80dedf71ce02e778e59f4884866c3030c819 (diff) | |
| download | rust-e169261a6fc4410cd1ff9cdc37da6ef3cc5e0600.tar.gz rust-e169261a6fc4410cd1ff9cdc37da6ef3cc5e0600.zip | |
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.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
