rust/library/alloc/src
bors 18d27b2c94 Auto merge of #80310 - Manishearth:box-try-alloc, r=kennytm
Add fallible Box, Arc, and Rc allocator APIs

cc https://github.com/rust-lang/rust/issues/48043

It was suggested in https://github.com/rust-lang/rust/issues/48043#issuecomment-748008486 that `Box::try_*` follows the spirit of RFC 2116. This PR is an attempt to add the relevant APIs, tied to the same feature gate. Happy to make any changes or turn this into an RFC if necessary.

cc `@rust-lang/wg-allocators`
2021-01-01 10:29:43 +00:00
..
alloc Rename AllocRef to Allocator and (de)alloc to (de)allocate 2020-12-04 14:47:15 +01:00
collections Rollup merge of #80448 - m-ou-se:deque-range-version, r=m-ou-se 2020-12-28 19:09:35 +00:00
prelude mv std libs to library/ 2020-07-27 19:51:13 -05:00
raw_vec Rename AllocRef to Allocator and (de)alloc to (de)allocate 2020-12-04 14:47:15 +01:00
rc de-stabilize unsized raw ptr methods for Weak 2020-12-28 00:39:09 +01:00
sync de-stabilize unsized raw ptr methods for Weak 2020-12-28 00:39:09 +01:00
vec Fix rustdoc link in vec/into_iter.rs. 2020-12-30 15:35:02 +00:00
alloc.rs Rename AllocRef to Allocator and (de)alloc to (de)allocate 2020-12-04 14:47:15 +01:00
borrow.rs Update library functions with stability attributes 2020-09-22 10:05:58 -07:00
boxed.rs More inline, doc fixes 2020-12-31 16:49:44 +00:00
fmt.rs Convert a bunch of intra-doc links 2020-11-07 12:50:57 -08:00
lib.rs Auto merge of #79895 - Kerollmops:slice-group-by, r=m-ou-se 2020-12-31 12:00:43 +00:00
macros.rs doc: apply suggestions 2020-12-11 10:09:40 -05:00
raw_vec.rs Auto merge of #78682 - glandium:issue78471, r=lcnr 2020-12-15 06:32:10 +00:00
rc.rs Auto merge of #80310 - Manishearth:box-try-alloc, r=kennytm 2021-01-01 10:29:43 +00:00
slice.rs Replace the tracking issue for the slice_group_by feature 2020-12-31 12:13:03 +01:00
str.rs Privatize some of libcore unicode_internals 2020-12-07 16:16:42 +03:00
string.rs Add "length" as doc alias to len methods 2020-12-28 09:13:46 +01:00
sync.rs Auto merge of #80310 - Manishearth:box-try-alloc, r=kennytm 2021-01-01 10:29:43 +00:00
task.rs Allow unstable From impl for [Raw]Waker. 2020-09-11 13:36:45 +02:00
tests.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00