Skip to content

Commit

Permalink
Added another test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Regueiro committed Aug 5, 2019
1 parent 4e0e645 commit 0994cf4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/test/ui/associated-type-bounds/ambiguous-associated-type.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// build-pass (FIXME(62277): could be check-pass?)

#![feature(associated_type_bounds)]

pub struct Flatten<I>
where
I: Iterator<Item: IntoIterator>,
{
inner: <I::Item as IntoIterator>::IntoIter,
}

fn main() {}

0 comments on commit 0994cf4

Please sign in to comment.