summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/issue-6702.rs
blob: 954dc36f38e301ee680f2d15f825b92f16ef2736 (plain)
1
2
3
4
5
6
7
8
9
struct Monster {
    damage: isize
}


fn main() {
    let _m = Monster();
    //~^ ERROR expected function, tuple struct or tuple variant, found struct `Monster`
}