]> git.lizzy.rs Git - rust.git/blob - tests/ui/match/single-line.rs
Rollup merge of #106605 - notriddle:notriddle/outdated-rustbook, r=GuillaumeGomez
[rust.git] / tests / ui / match / single-line.rs
1 fn main() {
2     let _ = match Some(42) { Some(x) => x, None => "" }; //~ ERROR E0308
3 }