fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
524 B14 linesraw
1error: expected identifier, found keyword `async`
2  --> $DIR/edition-keywords-2018-2018-expansion.rs:8:5
3   |
4LL |     produces_async! {}
5   |     ^^^^^^^^^^^^^^^^^^ expected identifier, found 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)
8help: you can escape reserved keywords to use them as identifiers
9   |
10LL | () => (pub fn r#async () { })
11   |               ^^^^^^^
12
13error: aborting due to previous error
14