]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/editions/edition-keywords-2018-2018-expansion.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / editions / edition-keywords-2018-2018-expansion.stderr
index a8fc58fc0cb8d927a6836b2f86205f58b21a246c..69f275746bdc44be3db5b5552e5cd8e2c0759317 100644 (file)
@@ -4,11 +4,12 @@ error: expected identifier, found keyword `async`
 LL |     produces_async! {}
    |     ^^^^^^^^^^^^^^^^^^ expected identifier, found keyword
    |
-   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
-help: you can escape reserved keywords to use them as identifiers
+   = 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 () { })
-   |               ^^^^^^^
+LL |     () => (pub fn r#async() {})
+   |                   ++
 
 error: aborting due to previous error