diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2022-06-17 07:16:55 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-17 07:16:55 +0900 |
| commit | e4b0d3aff2451316d9650ce2e66557cfb75a5071 (patch) | |
| tree | 94093ab942722c0b870b5c0f495c61f1814cf73a /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff | |
| parent | 0acd23c1da0a954fa177c195d89db98204bf4867 (diff) | |
| parent | 1d3037a107dc30e3e7c299eb939c60b7340d97ba (diff) | |
| download | rust-e4b0d3aff2451316d9650ce2e66557cfb75a5071.tar.gz rust-e4b0d3aff2451316d9650ce2e66557cfb75a5071.zip | |
Rollup merge of #97675 - nvzqz:unsized-needs-drop, r=dtolnay
Make `std::mem::needs_drop` accept `?Sized` This change attempts to make `needs_drop` work with types like `[u8]` and `str`. This enables code in types like `Arc<T>` that was not possible before, such as https://github.com/rust-lang/rust/pull/97676.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions
