rust/tests/ui/traits/new-solver/float-canonical.rs
2023-03-30 01:15:37 +00:00

9 lines
107 B
Rust

// compile-flags: -Ztrait-solver=next
// check-pass
fn foo(x: f64) {
let y = x + 1.0;
}
fn main() {}