// run-pass #![feature(existential_type)] existential type X: Clone; fn bar(f: F) -> F { f } fn foo() -> X { bar(|x| ()) } fn main() {}