]> git.proxmox.com Git - rustc.git/blob - src/test/ui/editions/edition-keywords-2018-2018-expansion.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / editions / edition-keywords-2018-2018-expansion.stderr
1 error: expected identifier, found keyword `async`
2 --> $DIR/edition-keywords-2018-2018-expansion.rs:8:5
3 |
4 LL | produces_async! {}
5 | ^^^^^^^^^^^^^^^^^^ expected identifier, found keyword
6 |
7 = note: this error originates in a macro (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