]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/no-const-fn-in-extern-block.stderr
Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup
[rust.git] / src / test / ui / parser / no-const-fn-in-extern-block.stderr
index 04fc8c85e4f033e59834365bab3e12e06a269e80..4ac0e265501f2df028de19b3c22f55b97e84c58f 100644 (file)
@@ -9,7 +9,7 @@ LL |     const fn foo();
 help: remove the qualifiers
    |
 LL |     fn foo();
-   |     ^^
+   |     ~~
 
 error: functions in `extern` blocks cannot have qualifiers
   --> $DIR/no-const-fn-in-extern-block.rs:4:21
@@ -23,7 +23,7 @@ LL |     const unsafe fn bar();
 help: remove the qualifiers
    |
 LL |     fn bar();
-   |     ^^
+   |     ~~
 
 error: aborting due to 2 previous errors