]> git.lizzy.rs Git - rust.git/blob - tests/ui/closures/binder/async-closure-with-binder.stderr
Move /src/test to /tests
[rust.git] / tests / ui / closures / binder / async-closure-with-binder.stderr
1 error: `for<...>` binders on `async` closures are not currently supported
2   --> $DIR/async-closure-with-binder.rs:5:5
3    |
4 LL |     for<'a> async || ();
5    |     ^^^^^^^
6
7 error: implicit types in closure signatures are forbidden when `for<...>` is present
8   --> $DIR/async-closure-with-binder.rs:5:5
9    |
10 LL |     for<'a> async || ();
11    |     -------^^^^^^^^^
12    |     |
13    |     `for<...>` is here
14
15 error: aborting due to 2 previous errors
16