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