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