// edition:2021 // check-pass #![feature(try_blocks)] fn main() { let _: Result = try { let Some(x) = Some(0) else { Err(1)? }; x }; }