3 // compile-flags: -Z query-dep-graph
6 // Regression test for ICE related to `await`ing in a method + incr. comp. (#64964)
10 async fn next(&mut self) {
15 // Another reproduction: `await`ing with a variable from for-loop.
19 async { Some(x) }.await.unwrap();