rust/tests/ui/editions/edition-keywords-2015-2018-expansion.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
541 B
Plaintext
Raw Normal View History

error: expected identifier, found keyword `async`
2018-12-25 09:56:47 -06:00
--> $DIR/edition-keywords-2015-2018-expansion.rs:8:5
2018-04-23 17:50:28 -05:00
|
2019-03-09 06:03:44 -06:00
LL | produces_async! {}
| ^^^^^^^^^^^^^^^^^^ expected identifier, found keyword
2018-04-23 17:50:28 -05:00
|
= 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() {})
| ++
2018-04-23 17:50:28 -05:00
error: aborting due to 1 previous error
2018-04-23 17:50:28 -05:00