We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 726c2b6 commit bfa3433Copy full SHA for bfa3433
src/test/compile-fail/issue-31109.rs
@@ -11,6 +11,7 @@
11
fn main() {
12
// FIXME(#31407) this error should go away, but in the meantime we test that it
13
// 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
+ let _: f64 = 1234567890123456789012345678901234567890e-340;
+ //~^ ERROR constant evaluation error
16
+ //~| unimplemented constant expression: could not evaluate float literal
17
}
0 commit comments