]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/issue-31109.rs
New upstream version 1.13.0+dfsg1
[rustc.git] / src / test / compile-fail / issue-31109.rs
index 63b3d58b8231bf349f9b70d3120ff84a79c06099..e3548d740717f6142fcb99794681820069d85520 100644 (file)
@@ -11,5 +11,7 @@
 fn main() {
     // FIXME(#31407) this error should go away, but in the meantime we test that it
     // is accompanied by a somewhat useful error message.
-    let _: f64 = 1234567890123456789012345678901234567890e-340; //~ ERROR could not evaluate float
+    let _: f64 = 1234567890123456789012345678901234567890e-340;
+    //~^ ERROR constant evaluation error
+    //~| unimplemented constant expression: could not evaluate float literal
 }