rust/src/test/ui/box
Tim Diekmann f288cd2e17 Support custom allocators in Box
Remove `Box::leak_with_alloc`


Add leak-test for box with allocator


Rename `AllocErr` to `AllocError` in leak-test


Add `Box::alloc` and adjust examples to use the new API
2020-10-07 03:07:02 +02:00
..
alloc-unstable-fail.rs Support custom allocators in Box 2020-10-07 03:07:02 +02:00
alloc-unstable-fail.stderr Support custom allocators in Box 2020-10-07 03:07:02 +02:00
alloc-unstable.rs Support custom allocators in Box 2020-10-07 03:07:02 +02:00
into-boxed-slice-fail.rs Support custom allocators in Box 2020-10-07 03:07:02 +02:00
into-boxed-slice-fail.stderr Support custom allocators in Box 2020-10-07 03:07:02 +02:00
into-boxed-slice.rs Support custom allocators in Box 2020-10-07 03:07:02 +02:00
leak-alloc.rs Support custom allocators in Box 2020-10-07 03:07:02 +02:00
leak-alloc.stderr Support custom allocators in Box 2020-10-07 03:07:02 +02:00
new.rs Support custom allocators in Box 2020-10-07 03:07:02 +02:00