summary refs log tree commit diff
path: root/tests/ui/parser/bad-recover-kw-after-impl.stderr
blob: f617cf6549886aef924c1d7b3f9b101de7d619e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
error: expected identifier, found `<eof>`
  --> $DIR/bad-recover-kw-after-impl.rs:13:22
   |
LL |     ($ty:ty) => {
   |      ------ while parsing argument for this `ty` macro fragment
...
LL | impl_primitive!(impl async);
   |                      ^^^^^ expected identifier

error[E0658]: async closures are unstable
  --> $DIR/bad-recover-kw-after-impl.rs:13:22
   |
LL | impl_primitive!(impl async);
   |                      ^^^^^
   |
   = note: see issue #62290 <https://github.com/rust-lang/rust/issues/62290> for more information
   = help: add `#![feature(async_closure)]` to the crate attributes to enable
   = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
   = help: to use an async block, remove the `||`: `async {`

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0658`.