fn f<T: copy>(a: T) {
fail + [a]
}
fn main() {}
fn f<T>(g: fn() -> [T]) {
let r = fail;
r += g();
}
fn main() {}
Assertion failed: (isa<X>(Val) && "cast<Ty>() argument of incompatible type!"), function cast, file /Users/jruderman/code/rust/src/llvm/include/llvm/Support/Casting.h, line 194.