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