2022-06-02 11:15:05 -05:00
|
|
|
error: `for<...>` binders on `async` closures are not currently supported
|
|
|
|
--> $DIR/async-closure-with-binder.rs:5:5
|
|
|
|
|
|
|
|
|
LL | for<'a> async || ();
|
|
|
|
| ^^^^^^^
|
|
|
|
|
2022-07-12 04:34:24 -05:00
|
|
|
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
|
2022-06-02 11:15:05 -05:00
|
|
|
|