]> git.lizzy.rs Git - rust.git/blob - src/test/ui/editions/edition-keywords-2015-2018-expansion.stderr
Rollup merge of #85534 - csmoe:demagnle-assert, r=michaelwoerister
[rust.git] / src / test / ui / editions / edition-keywords-2015-2018-expansion.stderr
1 error: expected identifier, found keyword `async`
2   --> $DIR/edition-keywords-2015-2018-expansion.rs:8:5
3    |
4 LL |     produces_async! {}
5    |     ^^^^^^^^^^^^^^^^^^ expected identifier, found keyword
6    |
7    = note: this error originates in the macro `produces_async` (in Nightly builds, run with -Z macro-backtrace for more info)
8 help: you can escape reserved keywords to use them as identifiers
9    |
10 LL |     () => (pub fn r#async() {})
11    |                   ~~~~~~~
12
13 error: aborting due to previous error
14