rust/src/test/compile-fail/issue-3680.rs
2012-12-06 21:53:14 -08:00

7 lines
106 B
Rust

// xfail-test
fn f() {
match None {
Err(_) => () //~ ERROR expected `core::result
}
}