]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/extern-const.stderr
suggestion applicabilities for libsyntax and librustc, run-rustfix tests
[rust.git] / src / test / ui / extern-const.stderr
index f416f596b25520806a51f7295cd46cb369bf24af..cbed5e56c76c4523c42e39712d30cfc575bd2416 100644 (file)
@@ -1,8 +1,8 @@
 error: extern items cannot be `const`
-  --> $DIR/extern-const.rs:14:5
+  --> $DIR/extern-const.rs:15:5
    |
 LL |     const C: u8; //~ ERROR extern items cannot be `const`
-   |     ^^^^^ help: instead try using: `static`
+   |     ^^^^^ help: try using a static value: `static`
 
 error: aborting due to previous error