mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
Add test for issue #81193
This commit is contained in:
parent
8f41de595d
commit
3b96dfe1d4
15
src/test/ui/associated-type-bounds/issue-81193.rs
Normal file
15
src/test/ui/associated-type-bounds/issue-81193.rs
Normal file
@ -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() {}
|
Loading…
Reference in New Issue
Block a user