about summary refs log tree commit diff
path: root/tests/ui/suggestions/issue-61226.rs
blob: 5c5e387663063d25252ef38f60eec66b69ee7121 (plain)
1
2
3
4
5
6
//@ run-rustfix
struct X {}
fn main() {
    let _ = vec![X]; //…
    //~^ ERROR expected value, found struct `X`
}