X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Fui%2Feditions%2Fedition-keywords-2015-2018-expansion.stderr;h=23dad2c16b22c95fa286b29ac19c1b6508e48c7d;hb=498eeb72f590e518e19746b346be53713689e207;hp=65d9199fa3326d5a528684fc7f6e45b07ae63c64;hpb=ba66384447430159e32bba613cd389b7773a453e;p=rust.git diff --git a/src/test/ui/editions/edition-keywords-2015-2018-expansion.stderr b/src/test/ui/editions/edition-keywords-2015-2018-expansion.stderr index 65d9199fa33..23dad2c16b2 100644 --- a/src/test/ui/editions/edition-keywords-2015-2018-expansion.stderr +++ b/src/test/ui/editions/edition-keywords-2015-2018-expansion.stderr @@ -5,10 +5,10 @@ LL | produces_async! {} | ^^^^^^^^^^^^^^^^^^ expected identifier, found keyword | = note: this error originates in the macro `produces_async` (in Nightly builds, run with -Z macro-backtrace for more info) -help: you can escape reserved keywords to use them as identifiers +help: escape `async` to use it as an identifier | LL | () => (pub fn r#async() {}) - | ~~~~~~~ + | ++ error: aborting due to previous error