mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 19:43:43 +00:00
17 lines
443 B
Plaintext
17 lines
443 B
Plaintext
error: `for<...>` binders on `async` closures are not currently supported
|
|
--> $DIR/async-closure-with-binder.rs:5:5
|
|
|
|
|
LL | for<'a> async || ();
|
|
| ^^^^^^^
|
|
|
|
error: implicit types in closure signatures are forbidden when `for<...>` is present
|
|
--> $DIR/async-closure-with-binder.rs:5:5
|
|
|
|
|
LL | for<'a> async || ();
|
|
| -------^^^^^^^^^
|
|
| |
|
|
| `for<...>` is here
|
|
|
|
error: aborting due to 2 previous errors
|
|
|