rustc/tests/ui/try-block/try-block-in-match.rs
2024-06-21 09:39:33 +02:00

12 lines
158 B
Rust

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