rust/tests/ui/associated-type-bounds/ambiguous-associated-type.rs

11 lines
147 B
Rust

//@ check-pass
pub struct Flatten<I>
where
I: Iterator<Item: IntoIterator>,
{
inner: <I::Item as IntoIterator>::IntoIter,
}
fn main() {}