blob: 91758c0b218823d54d2fb1c13b613a922ff7f1fb [file] [log] [blame]
// run-rustfix
#![allow(dead_code)]
struct RGB { r: f64, g: f64, b: f64 }
fn main() {
let (r, g, b): (f32, f32, f32) = (0., 0., 0.);
let _ = RGB { r: r.into(), g: g.into(), b: b.into() };
//~^ ERROR mismatched types
//~| ERROR mismatched types
//~| ERROR mismatched types
}