Tracking Issue for more_fallible_allocation_methods · Issue #86942 · rust-lang/rust (original) (raw)

Feature gate: #![feature(more_fallible_allocation_methods)]

This is a tracking issue for adding more fallible allocation methods, i.e. ones where allocation failure will return Err(_) rather than calling some diverging global handler.

It overlaps a bit with #32838, since the most general methods will be fallible and allocator-agnostic.

Public API

Basically, all the methods in the alloc crate that begin with try_. Perhaps others in std someday.

Steps / History

Unresolved Questions