]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/issue-61226.rs
Rollup merge of #106670 - albertlarsan68:check-docs-in-pr-ci, r=Mark-Simulacrum
[rust.git] / tests / ui / suggestions / issue-61226.rs
1 // run-rustfix
2 struct X {}
3 fn main() {
4     let _ = vec![X]; //…
5     //~^ ERROR expected value, found struct `X`
6 }