diff options
| author | mcarton <cartonmartin+git@gmail.com> | 2016-09-22 18:32:40 +0200 |
|---|---|---|
| committer | mcarton <cartonmartin+git@gmail.com> | 2016-09-22 18:32:40 +0200 |
| commit | bfa34332833962e4991f508ac3ab4958fd9b64cd (patch) | |
| tree | d96cb9e7c64199aef2f63d1824401fc03bbd9296 | |
| parent | 726c2b6e9b68b61edb6d09a13c67cfca62035027 (diff) | |
| download | rust-bfa34332833962e4991f508ac3ab4958fd9b64cd.tar.gz rust-bfa34332833962e4991f508ac3ab4958fd9b64cd.zip | |
Fix compile-fail syntax in error file
| -rw-r--r-- | src/test/compile-fail/issue-31109.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/compile-fail/issue-31109.rs b/src/test/compile-fail/issue-31109.rs index 33047329123..e3548d74071 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 } |
