Files
rust/tests/ui/traits/next-solver/opaques/revealing-use-in-nested-body.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
304 B
Rust
Raw Normal View History

2025-04-01 23:48:41 +02:00
// 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.
//@ compile-flags: --edition=2021
//@ check-pass
async fn test() {
Box::pin(test()).await;
}
fn main() {}