blob: 7fdc6e179e47af27c9a286494f4adb7ce46ff1a0 [file] [log] [blame] [edit]
fn main() {
match None { //~ NOTE this expression has type `Option<_>`
Err(_) => ()
//~^ ERROR mismatched types
//~| NOTE expected enum `Option<_>`
//~| NOTE found enum `Result<_, _>`
//~| NOTE expected `Option<_>`, found `Result<_, _>`
}
}