os-rust/tests/ui/issues/issue-3680.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
228 B
Rust
Raw Normal View History

fn main() {
2012-12-06 18:32:13 -08:00
match None {
2014-02-05 16:33:10 -06:00
Err(_) => ()
2015-01-12 01:01:44 -05:00
//~^ ERROR mismatched types
//~| expected enum `Option<_>`
2021-01-28 18:01:36 +02:00
//~| found enum `Result<_, _>`
//~| expected `Option<_>`, found `Result<_, _>`
2012-12-06 18:32:13 -08:00
}
}