]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/issue-61226.fixed
Rollup merge of #105230 - cjgillot:issue-104312, r=petrochenkov
[rust.git] / src / test / 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 }