2019-09-28 11:15:06 -05:00
|
|
|
error: expected identifier, found keyword `async`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/edition-keywords-2018-2018-expansion.rs:8:5
|
2018-04-23 17:50:28 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | produces_async! {}
|
2019-09-28 11:15:06 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^ expected identifier, found keyword
|
2018-04-23 17:50:28 -05:00
|
|
|
|
|
2019-12-15 09:12:30 -06:00
|
|
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-12-29 19:19:22 -06:00
|
|
|
help: you can escape reserved keywords to use them as identifiers
|
|
|
|
|
|
2019-07-13 15:08:29 -05:00
|
|
|
LL | () => (pub fn r#async () { })
|
|
|
|
| ^^^^^^^
|
2018-04-23 17:50:28 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|