rust/example
Yuki Okushi e4b0d3aff2 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 Remove alloc::prelude 2021-10-15 01:41:31 +02:00
alloc_system.rs Initial commit 2021-08-12 21:46:50 -04:00
arbitrary_self_types_pointers_and_wrappers.rs Spellchecking some comments 2022-03-30 01:39:38 -04:00
dst-field-align.rs Initial commit 2021-08-12 21:46:50 -04:00
example.rs Initial commit 2021-08-12 21:46:50 -04:00
mini_core_hello_world.rs Fix unsized field order 2022-06-03 12:58:36 -04:00
mini_core.rs Make std::mem::needs_drop accept ?Sized 2022-06-03 03:28:19 -04:00
mod_bench.rs Initial commit 2021-08-12 21:46:50 -04:00
std_example.rs Merge commit 'e8dca3e87d164d2806098c462c6ce41301341f68' into sync_from_cg_gcc 2022-06-06 22:04:37 -04:00
subslice-patterns-const-eval.rs Initial commit 2021-08-12 21:46:50 -04:00
track-caller-attribute.rs Initial commit 2021-08-12 21:46:50 -04:00