]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/await-keyword/2018-edition-error-in-non-macro-position.stderr
Parse alternative incorrect uses of await and recover
[rust.git] / src / test / ui / await-keyword / 2018-edition-error-in-non-macro-position.stderr
index 076a31bd9ced67fc1180c74ca2aab2ba2ec182b1..c4b82b29f0270f30da71337f84f335b0be32ec1b 100644 (file)
@@ -68,13 +68,5 @@ help: you can escape reserved keywords to use them as identifiers
 LL | macro_rules! r#await {
    |              ^^^^^^^
 
-error: expected `!`, found `{`
-  --> $DIR/2018-edition-error-in-non-macro-position.rs:26:17
-   |
-LL |     match await { await => () }
-   |     -----       ^ expected `!`
-   |     |
-   |     while parsing this match expression
-
-error: aborting due to 8 previous errors
+error: aborting due to 7 previous errors