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