summaryrefslogtreecommitdiffstats
path: root/src/test/ui/closures/binder/async-closure-with-binder.stderr
blob: 1d4628b1a494a726b43c4d85d9162f0a8bccb49a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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