//@ run-rustfix fn main() { let _x: Box Result<(), ()>> = || { //~ ERROR mismatched types Err(())?; Ok(()) }; }