2019-09-28 09:15:06 -07:00
|
|
|
error: expected identifier, found keyword `async`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/edition-keywords-2018-2018-expansion.rs:8:5
|
2018-04-24 01:50:28 +03:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | produces_async! {}
|
2019-09-28 09:15:06 -07:00
|
|
|
| ^^^^^^^^^^^^^^^^^^ expected identifier, found keyword
|
2018-04-24 01:50:28 +03:00
|
|
|
|
|
2021-02-13 14:52:25 -05:00
|
|
|
= note: this error originates in the macro `produces_async` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2022-01-27 14:53:39 -08:00
|
|
|
help: escape `async` to use it as an identifier
|
2022-05-31 16:38:03 -07:00
|
|
|
--> $DIR/auxiliary/edition-kw-macro-2018.rs:7:19
|
2018-12-29 17:19:22 -08:00
|
|
|
|
|
2020-03-05 15:31:11 +00:00
|
|
|
LL | () => (pub fn r#async() {})
|
2022-01-27 14:53:39 -08:00
|
|
|
| ++
|
2018-04-24 01:50:28 +03:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|