rust/tests/ui/traits/new-solver/float-canonical.rs

9 lines
107 B
Rust
Raw Normal View History

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