error: reached the type-length limit while instantiating `D::matches::<{closure@$DIR/issue-22638.rs:42:23: 42:25}>` --> $DIR/issue-22638.rs:42:9 | LL | / base.matches(&|| { LL | | LL | | C(base.clone()).matches(f) LL | | }) | |__________^ | = help: consider adding a `#![type_length_limit="30408681"]` attribute to your crate error: aborting due to 1 previous error