about summary refs log tree commit diff
path: root/tests/ui/traits/next-solver/opaques/revealing-use-in-nested-body.rs
blob: b79926eebda3bd021d5efffdb8a65408213f37fb (plain)
1
2
3
4
5
6
7
8
9
10
11
// Regression test for #137751. This previously ICE'd as
// we did not provide the hidden type of the opaque inside
// of the async block. This caused borrowck of the recursive
// call to ICE.

//@ edition: 2021
//@ check-pass
async fn test() {
    Box::pin(test()).await;
}
fn main() {}