1
Fork 0
rust/library/alloc/src
bors a53fb30e3b Auto merge of #78446 - RalfJung:box, r=Amanieu
fix Box::into_unique

https://github.com/rust-lang/rust/pull/77187/ broke Stacked Borrows pointer tagging around `Box::into_unique` (this is caused by `Box` being a special case in the type system, which box-internal code needs to account for). This PR fixes that.

r? `@Amanieu` Cc `@TimDiekmann`

Fixes https://github.com/rust-lang/rust/issues/78419.
2020-10-29 12:08:16 +00:00
..
alloc Replace Memoryblock with NonNull<[u8]> 2020-08-04 18:03:34 +02:00
collections Auto merge of #78359 - ssomers:btree_cleanup_mem, r=Mark-Simulacrum 2020-10-27 04:01:52 +00:00
prelude mv std libs to library/ 2020-07-27 19:51:13 -05:00
raw_vec Rename AllocErr to AllocError 2020-09-28 14:51:03 -04:00
rc Add tests for weak into/from raw 2020-09-12 10:38:33 -05:00
sync Add tests for weak into/from raw 2020-09-12 10:38:33 -05:00
alloc.rs Merge remote-tracking branch 'upstream/master' into box-alloc 2020-10-25 16:32:28 +01:00
borrow.rs Update library functions with stability attributes 2020-09-22 10:05:58 -07:00
boxed.rs fix Box::into_unique 2020-10-27 17:02:42 +01:00
fmt.rs Apply suggestions from code review 2020-08-21 19:31:00 +02:00
lib.rs Add unsized_fn_params feature 2020-10-27 14:45:02 -03:00
macros.rs Use intra-doc-links in alloc 2020-08-21 00:25:25 +02:00
raw_vec.rs Merge remote-tracking branch 'upstream/master' into box-alloc 2020-10-25 16:32:28 +01:00
rc.rs Support custom allocators in Box 2020-10-07 03:07:02 +02:00
slice.rs Rollup merge of #77969 - ryan-scott-dev:bigo-notation-consistency, r=m-ou-se 2020-10-23 18:26:26 +09:00
str.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
string.rs Clean up lib docs 2020-10-22 10:36:35 -07:00
sync.rs Merge remote-tracking branch 'upstream/master' into box-alloc 2020-10-25 16:32:28 +01: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
vec.rs Add lexicographical comparison doc 2020-10-26 22:39:43 +08:00