blob: e10ebf2e2d60af0955b0174f59b96e7113f40a37 (
plain)
1
2
3
4
5
6
7
8
9
10
|
fn main() {
let foo =
match //~ NOTE while parsing this match expression
Some(4).unwrap_or_else(5)
//~^ NOTE expected one of `.`, `?`, `{`, or an operator
; //~ NOTE unexpected token
//~^ ERROR expected one of `.`, `?`, `{`, or an operator, found `;`
println!("{}", foo)
}
|