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