rust/src/test/compile-fail/issue-3680.rs

7 lines
106 B
Rust
Raw Normal View History

2012-12-06 20:32:13 -06:00
// xfail-test
fn f() {
match None {
Err(_) => () //~ ERROR expected `core::result
}
}