]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/const-eval-span.rs
Imported Upstream version 1.6.0+dfsg1
[rustc.git] / src / test / compile-fail / const-eval-span.rs
index 3e75afcda6d71823f45538b7f9b921f7b4bdefc6..44ab798f4911b4a17c9cef11952aa577f6f27ced 100644 (file)
@@ -14,7 +14,7 @@
 struct S(i32);
 
 const CONSTANT: S = S(0);
-//~^ ERROR: constant evaluation error: non-constant path in constant expression [E0080]
+//~^ ERROR: constant evaluation error: call on struct [E0080]
 
 enum E {
     V = CONSTANT,