Added another test.

This commit is contained in:
Alexander Regueiro 2019-08-05 15:16:15 +01:00
parent 4e0e645dd9
commit 0994cf4ab0

View File

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