rust/src/test/ui/allocator
Harald Hoyer cadd12b5f0 Implement Make handle_alloc_error default to panic (for no_std + liballoc)
Related: https://github.com/rust-lang/rust/issues/66741

Guarded with `#![feature(default_alloc_error_handler)]` a default
`alloc_error_handler` is called, if a custom allocator is used and no
other custom `#[alloc_error_handler]` is defined.

The panic message does not contain the size anymore, because it would
pull in the fmt machinery, which would blow up the code size
significantly.
2020-10-02 09:00:29 +02:00
..
auxiliary Implement Make handle_alloc_error default to panic (for no_std + liballoc) 2020-10-02 09:00:29 +02:00
allocator-args.rs
allocator-args.stderr
custom-in-block.rs
custom-in-submodule.rs
custom.rs a few more &mut self -> self changes 2020-09-22 21:04:31 -07:00
function-allocator.rs
function-allocator.stderr
hygiene.rs
no_std-alloc-error-handler-custom.rs Implement Make handle_alloc_error default to panic (for no_std + liballoc) 2020-10-02 09:00:29 +02:00
no_std-alloc-error-handler-default.rs Implement Make handle_alloc_error default to panic (for no_std + liballoc) 2020-10-02 09:00:29 +02:00
not-an-allocator.rs
not-an-allocator.stderr
two-allocators2.rs
two-allocators2.stderr
two-allocators3.rs
two-allocators3.stderr
two-allocators.rs
two-allocators.stderr
xcrate-use2.rs
xcrate-use.rs