]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error: reached the type-length limit while instantiating `D::matches::$CLOSURE` |
dfeec247 | 2 | --> $DIR/issue-22638.rs:53:5 |
b7449926 XL |
3 | | |
4 | LL | / pub fn matches<F: Fn()>(&self, f: &F) { | |
532ac7d7 | 5 | LL | | |
b7449926 XL |
6 | LL | | let &D(ref a) = self; |
7 | LL | | a.matches(f) | |
8 | LL | | } | |
9 | | |_____^ | |
10 | | | |
532ac7d7 | 11 | = note: consider adding a `#![type_length_limit="26214380"]` attribute to your crate |
b7449926 XL |
12 | |
13 | error: aborting due to previous error | |
14 |