4 // If we use GEPi rather than GEP_tup_like when
5 // storing closure data (as we used to do), the u64 would
8 #![feature(box_syntax)]
20 fn f(&self) -> (A, u16);
23 impl<A:Clone> Invokable<A> for Invoker<A> {
24 fn f(&self) -> (A, u16) {
25 (self.a.clone(), self.b)
29 fn f<A:Clone + 'static>(a: A, b: u16) -> Box<dyn Invokable<A>+'static> {
33 } as Box<dyn Invokable<A>+'static>
37 let (a, b) = f(22_u64, 44u16).f();
38 println!("a={} b={}", a, b);