blob: cecbf724916ca8311f9f2b6871e464783d6efaf3 [file] [log] [blame] [edit]
//@ check-pass
//@ compile-flags: --edition 2018
#![feature(try_blocks)]
fn main() {
let _ = match 1 {
1 => try {}
_ => Ok::<(), ()>(()),
};
}