2 #![feature(custom_attribute)]
3 #![allow(dead_code, unused_attributes)]
13 fn crazy_closure() -> (i32, i32, i32) {
14 fn inner<T: Copy>(t: T) -> (i32, T, T) {
20 let f = move |y, z, asdf| {
22 (a + b + y + z, asdf, t)
31 // fn closure_arg_adjustment_problem() -> i64 {
32 // fn once<F: FnOnce(i64)>(f: F) { f(2); }
35 // let f = |x| y += x;