]> git.lizzy.rs Git - rust.git/blob - src/test/ui/editions/edition-keywords-2015-2018-expansion.stderr
Rollup merge of #93494 - solid-rs:fix-kmc-solid-spawned-task-priority, r=Mark-Simulacrum
[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: escape `async` to use it as an identifier
9    |
10 LL |     () => (pub fn r#async() {})
11    |                   ++
12
13 error: aborting due to previous error
14