From bfa34332833962e4991f508ac3ab4958fd9b64cd Mon Sep 17 00:00:00 2001 From: mcarton Date: Thu, 22 Sep 2016 18:32:40 +0200 Subject: [PATCH] Fix compile-fail syntax in error file --- src/test/compile-fail/issue-31109.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/test/compile-fail/issue-31109.rs b/src/test/compile-fail/issue-31109.rs index 330473291233..e3548d740717 100644 --- a/src/test/compile-fail/issue-31109.rs +++ b/src/test/compile-fail/issue-31109.rs @@ -11,6 +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 - //~ ERROR unimplemented constant expression: could not evaluate float literal + let _: f64 = 1234567890123456789012345678901234567890e-340; + //~^ ERROR constant evaluation error + //~| unimplemented constant expression: could not evaluate float literal }