summaryrefslogtreecommitdiffstats
path: root/src/test/ui/suggestions/issue-61226.fixed
blob: 6e9d74344bc832d82713f2e32aaa7ec1bbf17321 (plain)
1
2
3
4
5
6
// run-rustfix
struct X {}
fn main() {
    let _ = vec![X {}]; //…
    //~^ ERROR expected value, found struct `X`
}