rust/tests/ui/try-block/try-block-in-match.rs
2024-02-16 20:02:50 +00:00

12 lines
158 B
Rust

//@ run-pass
//@ compile-flags: --edition 2018
#![feature(try_blocks)]
fn main() {
match try { } {
Err(()) => (),
Ok(()) => (),
}
}