1 2 3 4 5 6 7 8 9
// check-pass // compile-flags: -Z trait-solver=chalk trait Foo<F: ?Sized> where for<'a> F: Fn(&'a (u8, u16)) -> &'a u8 { } fn main() { }