]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/async-await/no-async-const.stderr
Rollup merge of #96603 - Alexendoo:const-generics-tests, r=Mark-Simulacrum
[rust.git] / src / test / ui / async-await / no-async-const.stderr
index ae13b90c3cfc0bd33f7cd806337cb38e48eaf16f..a51dc88a4eded368247b823ca0be53a5537ee326 100644 (file)
@@ -7,7 +7,7 @@ LL | pub async const fn x() {}
    |     |     expected one of `extern`, `fn`, or `unsafe`
    |     help: `const` must come before `async`: `const async`
    |
-   = note: keyword order for functions declaration is `default`, `pub`, `const`, `async`, `unsafe`, `extern`
+   = note: keyword order for functions declaration is `pub`, `default`, `const`, `async`, `unsafe`, `extern`
 
 error: aborting due to previous error