]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/issue-61226.rs
Rollup merge of #107127 - uweigand:s390x-sanitizer, 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 }