// error-pattern:explicit failure extern mod std; use std::arc; enum e { e(arc::ARC) } fn foo() -> e {fail;} fn main() { let f = foo(); }