]> git.lizzy.rs Git - rust.git/blob - src/test/ui/chalkify/lower_trait_higher_rank.rs
fix [type error] for error E0029 and E0277
[rust.git] / src / test / ui / chalkify / lower_trait_higher_rank.rs
1 // check-pass
2 // compile-flags: -Z chalk
3
4 trait Foo<F: ?Sized> where for<'a> F: Fn(&'a (u8, u16)) -> &'a u8
5 {
6 }
7
8 fn main() {
9 }