rust/src/test/ui/missing-alloc_error_handler.stderr
Simon Sapin 239ec7d2dc Implement #[alloc_error_handler]
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-07-09 23:13:24 +02:00

4 lines
105 B
Text

error: `#[alloc_error_handler]` function required, but not found
error: aborting due to previous error