mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 15:32:06 +00:00
cf68fd7e8d
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_hello_world.rs | ||
mini_core.rs | ||
mod_bench.rs | ||
std_example.rs | ||
subslice-patterns-const-eval.rs | ||
track-caller-attribute.rs |