rustc/tests/ui/binop/binop-logic-float.rs
2023-08-02 10:33:26 +02:00

4 lines
98 B
Rust

fn main() { let x = 1.0_f32 || 2.0_f32; }
//~^ ERROR mismatched types
//~| ERROR mismatched types