2020-09-15 09:37:19 -05:00
|
|
|
error: reached the recursion limit while instantiating `A::matches::$CLOSURE`
|
2020-09-15 21:45:58 -05:00
|
|
|
--> $DIR/issue-22638.rs:56:9
|
2020-09-15 09:37:19 -05:00
|
|
|
|
|
|
|
|
LL | a.matches(f)
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: `A::matches` defined here
|
2020-09-15 21:45:58 -05:00
|
|
|
--> $DIR/issue-22638.rs:15:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2020-08-12 16:02:14 -05:00
|
|
|
LL | pub fn matches<F: Fn()>(&self, f: &F) {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|