pub fn allocation_failure(message: impl Into<Cow<'static, str>>) -> Message
Create a diagnostic for an unrepresentable allocation size or memory that could not be reserved.