rust/tests/target/issue-6059/additional.rs
MarcusGrass 73c81495cd
Ensure space after binary exprs that ends with . before range expr
Removing the space would lead to compilation errors.
2024-03-04 22:19:57 -05:00

7 lines
156 B
Rust

fn float_range_tests() {
let _range = 3. / 2. ..4.;
let _range = 3.0 / 2. ..4.0;
let _range = 3.0 / 2.0..4.0;
let _range = 3. / 2.0..4.0;
}