rust/tests/ui/chalkify/lower_trait_higher_rank.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
140 B
Rust
Raw Normal View History

2020-03-03 11:25:03 -05:00
// check-pass
2023-01-02 23:18:00 +00:00
// compile-flags: -Z trait-solver=chalk
2020-03-03 11:25:03 -05:00
trait Foo<F: ?Sized> where for<'a> F: Fn(&'a (u8, u16)) -> &'a u8
{
}
fn main() {
}