rust/src/test/ui/pattern/issue-68396-let-float-bug.rs
2020-01-20 19:46:27 +01:00

8 lines
283 B
Rust

fn main() {
let 1234567890123456789012345678901234567890e-340: f64 = 0.0;
//~^ ERROR could not evaluate float literal (see issue #31407)
fn param(1234567890123456789012345678901234567890e-340: f64) {}
//~^ ERROR could not evaluate float literal (see issue #31407)
}