blob: 8f48483c254218a66f9fcd4afe6cce7e919faf8e [file] [log] [blame]
fn main() {
let x = |a: (), b: ()| {
Err(a)?; //~ ERROR type annotations needed for the closure
Ok(b)
};
}