1 error: reached the type-length limit while instantiating `D::matches::$CLOSURE`
2 --> $DIR/issue-22638.rs:53:5
4 LL | / pub fn matches<F: Fn()>(&self, f: &F) {
6 LL | | let &D(ref a) = self;
11 = note: consider adding a `#![type_length_limit="30408681"]` attribute to your crate
13 error: aborting due to previous error