1 error[E0308]: mismatched types
2 --> $DIR/binop-logic-float.rs:1:21
4 LL | fn main() { let x = 1.0_f32 || 2.0_f32; }
5 | ^^^^^^^ expected `bool`, found `f32`
7 error[E0308]: mismatched types
8 --> $DIR/binop-logic-float.rs:1:32
10 LL | fn main() { let x = 1.0_f32 || 2.0_f32; }
11 | ^^^^^^^ expected `bool`, found `f32`
13 error: aborting due to 2 previous errors
15 For more information about this error, try `rustc --explain E0308`.