4 // Regression test for #37154: the problem here was that the cache
5 // results in a false error because it was caching placeholder results
6 // even after those placeholder regions had been popped.
14 impl<T> Foo for Wrapper<T> where for<'a> &'a T: IntoIterator<Item=&'a ()> {}
16 fn f(x: Wrapper<Vec<()>>) {
17 x.method(); // This works.
18 x.method(); // error: no method named `method`