]>
Commit | Line | Data |
---|---|---|
60c5eb7d | 1 | // check-pass |
48663c56 XL |
2 | // edition:2018 |
3 | ||
48663c56 XL |
4 | // This is a regression test to ensure that simple bindings (where replacement arguments aren't |
5 | // created during async fn lowering) that have their DefId used during HIR lowering (such as impl | |
6 | // trait) are visited during def collection and thus have a DefId. | |
7 | ||
8 | async fn foo(ws: impl Iterator<Item = ()>) {} | |
9 | ||
10 | fn main() {} |