Skip to main content

allocation_failure

Function allocation_failure 

Source
pub fn allocation_failure(message: impl Into<Cow<'static, str>>) -> Message
Expand description

Create a diagnostic for an unrepresentable allocation size or memory that could not be reserved.