// error-pattern:explicit failure fn foo(s: ~str) { } fn main() { let i = match Some::(3) { None:: => { fail } Some::(_) => { fail } }; foo(i); }