]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/issue-61226.fixed
Rollup merge of #106749 - glandium:dwarf, r=Mark-Simulacrum
[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 }