// check-pass fn cb<'a,T>(_x: Box, bool))) -> T>) -> T { panic!() } fn main() { cb(Box::new(|(k, &(ref v, b))| (*k, v.clone(), b))); }