about summary refs log tree commit diff
path: root/tests/ui/async-await/async-closures/post-mono-higher-ranked-hang.stderr
blob: 486e5f9416550bf81e6df9b4a9559eed72c48d5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
error: reached the recursion limit while instantiating `ToChain::<'_, '_>::perm_pairs::<{async closure@$DIR/post-mono-higher-ranked-hang.rs:43:45: 43:67}>`
  --> $DIR/post-mono-higher-ranked-hang.rs:43:21
   |
LL | /                     self.perm_pairs(l, &mut async move |left_pair| {
LL | |
LL | |                         self.perm_pairs(r, yield_chain).await
LL | |                     })
   | |______________________^
   |
note: `ToChain::<'env, 'db>::perm_pairs` defined here
  --> $DIR/post-mono-higher-ranked-hang.rs:34:5
   |
LL | /     fn perm_pairs<'l>(
LL | |         &'l self,
LL | |         perm: &'l SymPerm<'db>,
LL | |         yield_chain: &'l mut impl AsyncFnMut(&SymPerm<'db>),
LL | |     ) -> Pin<Box<dyn std::future::Future<Output = ()> + 'l>> {
   | |____________________________________________________________^

error: aborting due to 1 previous error