rust/library/alloc/src
Jacob Pratt 41e40f3630
Rollup merge of #143717 - Jules-Bertholet:pin-default, r=dtolnay
Add `Default` impls for `Pin`ned `Box`, `Rc`, `Arc`

Fixes rust-lang/rust#143688.

`@rustbot` label T-libs-api needs-fcp

Also needs a crater run, as the `Box` impls could theoretically be breaking due to `#[fundamental]` (though a [cursory search](https://github.com/search?q=%2Fimpl%28%3C.*%3E%29%3F+Default+for+Pin%3C%2F+path%3A*.rs&type=code) suggests this is unlikely to cause issues).
2025-08-15 18:13:26 -04:00
..
boxed add const_make_global; err for const_allocate ptrs if didn't call 2025-07-16 00:32:12 +08:00
collections {BTree,Hash}Map: add "Entry API" section heading 2025-08-09 19:41:32 +02:00
ffi replace version placeholder 2025-08-06 13:22:38 +01:00
raw_vec Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
vec Add cast_init and cast_uninit methods for pointers 2025-08-12 16:57:56 -04:00
alloc.rs Make __rust_alloc_error_handler_should_panic a function 2025-07-03 10:52:21 -07:00
borrow.rs Fully test the alloc crate through alloctests 2025-03-07 19:11:13 +00:00
boxed.rs Add Default impls for Pinned Box, Rc, Arc 2025-07-15 17:41:31 -04:00
bstr.rs Fully test the alloc crate through alloctests 2025-03-07 19:11:13 +00:00
fmt.rs docs(alloc::fmt): Make type optional, instead of matching the empty string 2025-07-13 23:24:27 +01:00
lib.miri.rs add 'x.py miri', and make it work for 'library/{core,alloc,std}' 2024-04-03 20:27:20 +02:00
lib.rs Add cast_init and cast_uninit methods for pointers 2025-08-12 16:57:56 -04:00
macros.rs Streamline the format macro. 2025-04-28 06:56:13 +10:00
rc.rs Add Default impls for Pinned Box, Rc, Arc 2025-07-15 17:41:31 -04:00
slice.rs Remove [T]::array_chunks(_mut) 2025-07-27 23:03:07 -07:00
str.rs remove extraneous text 2025-06-06 06:39:51 +02:00
string.rs Rollup merge of #144478 - joshtriplett:doc-code-formatting-prep, r=Amanieu 2025-08-02 11:24:24 +02:00
sync.rs Add Default impls for Pinned Box, Rc, Arc 2025-07-15 17:41:31 -04:00
task.rs Stabilize noop_waker 2024-12-05 14:14:17 -08:00