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. |
||
|---|---|---|
| .. | ||
| alloc_example.rs | ||
| alloc_system.rs | ||
| arbitrary_self_types_pointers_and_wrappers.rs | ||
| dst-field-align.rs | ||
| example.rs | ||
| mini_core.rs | ||
| mini_core_hello_world.rs | ||
| mod_bench.rs | ||
| std_example.rs | ||
| subslice-patterns-const-eval.rs | ||
| track-caller-attribute.rs | ||