1 2 3 4 5 6 7 8
// error-pattern:expected `int` but found `bool` fn main() { let a = {foo: 0i}; let b = {foo: true,.. a}; }