#![allow(unused_variables)] #![feature(allocator_api)] fn main() { fn _inner() -> core::result::Result<(), impl core::fmt::Debug> { use std::alloc::System; let five = Box::try_new_in(5, System)?; Ok::<(), std::alloc::AllocError>(()) } _inner().unwrap() }