2020-09-15 09:37:19 -05:00
|
|
|
error: reached the recursion limit while instantiating `A::matches::$CLOSURE`
|
2020-09-16 03:45:58 +01: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-16 03:45:58 +01:00
|
|
|
--> $DIR/issue-22638.rs:15:5
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2020-08-12 17:02:14 -04:00
|
|
|
LL | pub fn matches<F: Fn()>(&self, f: &F) {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-08-08 14:28:26 +02:00
|
|
|
|