Skip to content

Commit bfa3433

Browse files
committed
Fix compile-fail syntax in error file
1 parent 726c2b6 commit bfa3433

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/test/compile-fail/issue-31109.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
fn main() {
1212
// FIXME(#31407) this error should go away, but in the meantime we test that it
1313
// is accompanied by a somewhat useful error message.
14-
let _: f64 = 1234567890123456789012345678901234567890e-340; //~ ERROR could not evaluate float
15-
//~ ERROR unimplemented constant expression: could not evaluate float literal
14+
let _: f64 = 1234567890123456789012345678901234567890e-340;
15+
//~^ ERROR constant evaluation error
16+
//~| unimplemented constant expression: could not evaluate float literal
1617
}

0 commit comments

Comments
 (0)