1 error[E0308]: mismatched types
2 --> $DIR/type-mismatch-struct-field-shorthand.rs:8:19
4 LL | let _ = RGB { r, g, b };
7 | expected f64, found f32
8 | help: you can convert an `f32` to `f64`: `r: r.into()`
10 error[E0308]: mismatched types
11 --> $DIR/type-mismatch-struct-field-shorthand.rs:8:22
13 LL | let _ = RGB { r, g, b };
16 | expected f64, found f32
17 | help: you can convert an `f32` to `f64`: `g: g.into()`
19 error[E0308]: mismatched types
20 --> $DIR/type-mismatch-struct-field-shorthand.rs:8:25
22 LL | let _ = RGB { r, g, b };
25 | expected f64, found f32
26 | help: you can convert an `f32` to `f64`: `b: b.into()`
28 error: aborting due to 3 previous errors
30 For more information about this error, try `rustc --explain E0308`.