fn hi() -> impl Sized { std::ptr::null::() } fn main() { let b: Box Box> = Box::new(hi); //~^ ERROR type mismatch resolving ` impl Sized {hi} as FnOnce<()>>::Output == Box` let boxed = b(); let null = *boxed; println!("{null:?}"); }