Skip to content

Commit 3b96dfe

Browse files
committed
Add test for issue rust-lang#81193
1 parent 8f41de5 commit 3b96dfe

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// check-pass
2+
3+
#![feature(associated_type_bounds)]
4+
5+
trait A<'a, 'b> {}
6+
7+
trait B<'a, 'b, 'c> {}
8+
9+
fn err<'u, 'a, F>()
10+
where
11+
for<'b> F: Iterator<Item: for<'c> B<'a, 'b, 'c> + for<'c> A<'a, 'c>>,
12+
{
13+
}
14+
15+
fn main() {}

0 commit comments

Comments
 (0)