1 2 3 4 5 6 7 8
// check-pass struct Foo { bar: dyn for<'r> Fn(usize, &'r dyn FnMut()) } fn main() { }