about summary refs log tree commit diff
path: root/tests/ui/associated-type-bounds/issue-81193.rs
blob: caa5915819b9908cee03618af702b7d4ec773ebb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//@ check-pass

trait A<'a, 'b> {}

trait B<'a, 'b, 'c> {}

fn err<'u, 'a, F>()
where
    for<'b> F: Iterator<Item: for<'c> B<'a, 'b, 'c> + for<'c> A<'a, 'c>>,
{
}

fn main() {}