2 // compile-flags: -Z query-dep-graph -C incremental=tmp/issue-64964
5 // Regression test for ICE related to `await`ing in a method + incr. comp. (#64964)
9 async fn next(&mut self) {
14 // Another reproduction: `await`ing with a variable from for-loop.
18 async { Some(x) }.await.unwrap();