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