]>
Commit | Line | Data |
---|---|---|
e1599b0c | 1 | error: expected identifier, found keyword `async` |
0731742a | 2 | --> $DIR/edition-keywords-2015-2018-expansion.rs:8:5 |
94b46f34 | 3 | | |
532ac7d7 | 4 | LL | produces_async! {} |
e1599b0c | 5 | | ^^^^^^^^^^^^^^^^^^ expected identifier, found keyword |
94b46f34 | 6 | | |
17df50a5 | 7 | = note: this error originates in the macro `produces_async` (in Nightly builds, run with -Z macro-backtrace for more info) |
5099ac24 | 8 | help: escape `async` to use it as an identifier |
923072b8 | 9 | --> $DIR/auxiliary/edition-kw-macro-2018.rs:7:19 |
0731742a | 10 | | |
ba9703b0 | 11 | LL | () => (pub fn r#async() {}) |
5099ac24 | 12 | | ++ |
94b46f34 XL |
13 | |
14 | error: aborting due to previous error | |
15 |