summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-22638.stderr
blob: 1caa4221f25015fc6d292f88e9c6b4ae76037719 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: reached the recursion limit while instantiating `A::matches::$CLOSURE`
  --> $DIR/issue-22638.rs:56:9
   |
LL |         a.matches(f)
   |         ^^^^^^^^^^^^
   |
note: `A::matches` defined here
  --> $DIR/issue-22638.rs:15:5
   |
LL |     pub fn matches<F: Fn()>(&self, f: &F) {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error