]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/async-await/issues/issue-64964.rs
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();