summary refs log tree commit diff
path: root/src/test/ui/missing-allocator.rs
AgeCommit message (Collapse)AuthorLines
2018-07-09Implement #[alloc_error_handler]Simon Sapin-3/+5
This to-be-stable attribute is equivalent to `#[lang = "oom"]`. It is required when using the alloc crate without the std crate. It is called by `handle_alloc_error`, which is in turned called by "infallible" allocations APIs such as `Vec::push`.
2018-06-19Add a UI test for the missing allocator error messageSimon Sapin-0/+26