]> 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 c6e0927a3a4359fee26649e36ea5ff1e64bf4e61..69f275746bdc44be3db5b5552e5cd8e2c0759317 100644 (file)
@@ -1,10 +1,15 @@
-error: expected identifier, found reserved keyword `async`
-  --> $DIR/edition-keywords-2018-2018-expansion.rs:18:5
+error: expected identifier, found keyword `async`
+  --> $DIR/edition-keywords-2018-2018-expansion.rs:8:5
    |
-LL |     produces_async! {} //~ ERROR expected identifier, found reserved keyword `async`
-   |     ^^^^^^^^^^^^^^^^^^ expected identifier, found reserved keyword
+LL |     produces_async! {}
+   |     ^^^^^^^^^^^^^^^^^^ expected identifier, found keyword
    |
-   = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
+   = 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