rust/compiler/rustc_codegen_gcc/example
Yuki Okushi cf68fd7e8d
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.
2022-06-17 07:16:55 +09:00
..
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