summaryrefslogtreecommitdiffstats
path: root/tests/ui/editions/edition-keywords-2015-2018-expansion.stderr
blob: 570bbac2b21f649d6d1df5ae37c123e786a2ba93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error: expected identifier, found keyword `async`
  --> $DIR/edition-keywords-2015-2018-expansion.rs:8:5
   |
LL |     produces_async! {}
   |     ^^^^^^^^^^^^^^^^^^ expected identifier, found keyword
   |
   = note: this error originates in the macro `produces_async` (in Nightly builds, run with -Z macro-backtrace for more info)
help: escape `async` to use it as an identifier
  --> $DIR/auxiliary/edition-kw-macro-2018.rs:7:19
   |
LL |     () => (pub fn r#async() {})
   |                   ++

error: aborting due to previous error