]> git.proxmox.com Git - rustc.git/blame - src/test/ui/closures/binder/async-closure-with-binder.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / closures / binder / async-closure-with-binder.rs
CommitLineData
064997fb
FG
1// edition:2021
2#![feature(closure_lifetime_binder)]
3#![feature(async_closure)]
4fn main() {
5 for<'a> async || ();
6 //~^ ERROR `for<...>` binders on `async` closures are not currently supported
7 //~^^ ERROR implicit types in closure signatures are forbidden when `for<...>` is present
8}