1 2 3 4 5 6
// run-rustfix struct X {} fn main() { let _ = vec![X {}]; //… //~^ ERROR expected value, found struct `X` }