blob: 37c9000c043daf0e01f118cb45ddd5560b5091a9 (
plain)
1
2
3
4
5
6
7
8
9
|
fn main() {
match None {
Err(_) => ()
//~^ ERROR mismatched types
//~| expected enum `Option<_>`
//~| found enum `Result<_, _>`
//~| expected enum `Option`, found enum `Result`
}
}
|