rust/tests/ui/chalkify/lower_trait_higher_rank.rs
2023-01-11 09:32:08 +00:00

10 lines
140 B
Rust

// check-pass
// compile-flags: -Z trait-solver=chalk
trait Foo<F: ?Sized> where for<'a> F: Fn(&'a (u8, u16)) -> &'a u8
{
}
fn main() {
}