Skip to content

Commit

Permalink
Add test for issue rust-lang#81193
Browse files Browse the repository at this point in the history
  • Loading branch information
marmeladema committed Apr 23, 2021
1 parent 8f41de5 commit 3b96dfe
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/test/ui/associated-type-bounds/issue-81193.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// check-pass

#![feature(associated_type_bounds)]

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() {}

0 comments on commit 3b96dfe

Please sign in to comment.