impl D {
pub fn matches<F: Fn()>(&self, f: &F) {
- //~^ ERROR reached the type-length limit while instantiating `D::matches::<[closure
+ //~^ ERROR reached the type-length limit while instantiating `<D>::matches::<[closure
let &D(ref a) = self;
a.matches(f)
}