summaryrefslogtreecommitdiffstats
path: root/tests/ui/associated-type-bounds/ambiguous-associated-type.rs
blob: 9c47a003dfd09fc9b480e490128f21b2e1c5d2d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// check-pass

#![feature(associated_type_bounds)]

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

fn main() {}