blob: 09ebb2e1d83707d32674c3c6bf2bc1d64d15c773 [file] [log] [blame]
fn main() {
let foo =
match //~ NOTE while parsing this match expression
Some(4).unwrap_or_else(5)
//~^ NOTE expected one of `.`, `?`, `{`, or an operator here
; //~ NOTE unexpected token
//~^ ERROR expected one of `.`, `?`, `{`, or an operator, found `;`
println!("{}", foo)
}