]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/typeck/issue-79040.rs
New upstream version 1.56.0+dfsg1
[rustc.git] / src / test / ui / typeck / issue-79040.rs
index af2a9c1ba87ef971739ee9667ada685843c789cf..941612542207c2424d6a563ae70ff6eec5e8185c 100644 (file)
@@ -1,5 +1,5 @@
 fn main() {
     const FOO = "hello" + 1; //~ ERROR cannot add `{integer}` to `&str`
-    //~^ ERROR cannot add `{integer}` to `&str`
+    //~^ missing type for `const` item
     println!("{}", FOO);
 }