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