]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/typeck/issue-79040.stderr
Rollup merge of #100220 - scottmcm:fix-by-ref-sized, r=joshtriplett
[rust.git] / src / test / ui / typeck / issue-79040.stderr
index aec2e1ec9e4efe0f0296dc4c0b2c6d4841d9c2ce..c820d1e08c4adbd2abb9f040739eee8415827e26 100644 (file)
@@ -7,10 +7,10 @@ LL |     const FOO = "hello" + 1;
    |                 &str
 
 error: missing type for `const` item
-  --> $DIR/issue-79040.rs:2:11
+  --> $DIR/issue-79040.rs:2:14
    |
 LL |     const FOO = "hello" + 1;
-   |           ^^^ help: provide a type for the item: `FOO: <type>`
+   |              ^ help: provide a type for the item: `: <type>`
 
 error: aborting due to 2 previous errors