]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/issue-61226.fixed
Rollup merge of #106878 - JohnTitor:issue-92157, r=compiler-errors
[rust.git] / tests / ui / suggestions / issue-61226.fixed
1 // run-rustfix
2 struct X {}
3 fn main() {
4     let _ = vec![X {}]; //…
5     //~^ ERROR expected value, found struct `X`
6 }