blob: 261bfd60aaea9db097de6069da156c719f766d8d [file] [log] [blame]
// check-pass
fn foo<F, G>(_: G, _: Box<F>)
where
F: Fn(),
G: Fn(Box<F>),
{
}
fn main() {
foo(|f| (*f)(), Box::new(|| {}));
}