rust/tests/ui/match/single-line.rs
2023-01-11 09:32:08 +00:00

3 lines
87 B
Rust

fn main() {
let _ = match Some(42) { Some(x) => x, None => "" }; //~ ERROR E0308
}