2018-12-18 21:01:06 -06:00
|
|
|
error: reached the type-length limit while instantiating `D::matches::$CLOSURE`
|
2019-12-13 21:28:32 -06:00
|
|
|
--> $DIR/issue-22638.rs:53:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | / pub fn matches<F: Fn()>(&self, f: &F) {
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | |
|
2018-08-08 07:28:26 -05:00
|
|
|
LL | | let &D(ref a) = self;
|
|
|
|
LL | | a.matches(f)
|
|
|
|
LL | | }
|
|
|
|
| |_____^
|
|
|
|
|
|
2020-03-12 20:23:38 -05:00
|
|
|
= note: consider adding a `#![type_length_limit="30408681"]` attribute to your crate
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|