rust/src/test/ui/issues/issue-22638.stderr

15 lines
398 B
Plaintext
Raw Normal View History

error: reached the type-length limit while instantiating `D::matches::$CLOSURE`
--> $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 | | }
| |_____^
|
= 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