1 error[E0308]: mismatched types
2 --> $DIR/type-mismatch-struct-field-shorthand-2.rs:5:19
4 LL | let _ = RGB { r, g, c };
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-2.rs:5:22
13 LL | let _ = RGB { r, g, c };
16 | expected `f64`, found `f32`
17 | help: you can convert an `f32` to `f64`: `g: g.into()`
19 error[E0560]: struct `RGB` has no field named `c`
20 --> $DIR/type-mismatch-struct-field-shorthand-2.rs:5:25
22 LL | let _ = RGB { r, g, c };
23 | ^ help: a field with a similar name exists: `b`
25 error: aborting due to 3 previous errors
27 Some errors have detailed explanations: E0308, E0560.
28 For more information about an error, try `rustc --explain E0308`.