1 // Regression test for #48132. This was failing due to problems around
2 // the projection caching and dropck type enumeration.
14 struct Outer<I: Iterator> {
15 inner: Inner<I, I::Item>,
18 fn outer<I>(iterator: I) -> Outer<I>
25 item: Default::default(),
31 outer(std::iter::once(&1).cloned());