2018-08-09 05:48:31 -05:00
|
|
|
error: reached the type-length limit while instantiating `D::matches::$CLOSURE`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-22638.rs:52:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | / pub fn matches<F: Fn()>(&self, f: &F) {
|
|
|
|
LL | | //~^ ERROR reached the type-length limit while instantiating `D::matches::<[closure
|
|
|
|
LL | | let &D(ref a) = self;
|
|
|
|
LL | | a.matches(f)
|
|
|
|
LL | | }
|
|
|
|
| |_____^
|
|
|
|
|
|
|
|
|
= note: consider adding a `#![type_length_limit="40000000"]` attribute to your crate
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|