]> git.proxmox.com Git - rustc.git/blob - src/test/ui/editions/edition-keywords-2018-2018-expansion.stderr
Update upstream source from tag 'upstream/1.38.0+dfsg1'
[rustc.git] / src / test / ui / editions / edition-keywords-2018-2018-expansion.stderr
1 error: expected identifier, found reserved keyword `async`
2 --> $DIR/edition-keywords-2018-2018-expansion.rs:8:5
3 |
4 LL | produces_async! {}
5 | ^^^^^^^^^^^^^^^^^^ expected identifier, found reserved keyword
6 |
7 = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-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