about summary refs log tree commit diff
path: root/tests/ui/issues/issue-22638.stderr
blob: 96f1794486838cfa92f18a8173f40309584f919f (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:42:23: 42:25}>`
  --> $DIR/issue-22638.rs:54:9
   |
LL |         a.matches(f)
   |         ^^^^^^^^^^^^
   |
note: `A::matches` defined here
  --> $DIR/issue-22638.rs:13:5
   |
LL |     pub fn matches<F: Fn()>(&self, f: &F) {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 1 previous error