Fix compile-fail syntax in error file
This commit is contained in:
parent
726c2b6e9b
commit
bfa3433283
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue