1 2 3 4 5 6 7 8 9
// error-pattern:explicit failure enum e<T: const send> { e(arc::arc<T>) } fn foo() -> e<int> {fail;} fn main() { let f = foo(); }