fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

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