fn main() {
let _ = Foo { bar: .5, baz: 42 };
- //~^ ERROR expected expression
+ //~^ ERROR numeric float literals must have a significant
//~| ERROR missing field `bat` in initializer of `Foo`
+ //~| ERROR mismatched types
let bar = 1.5f32;
let _ = Foo { bar.into(), bat: -1, . };
//~^ ERROR expected one of