summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-20714.rs
blob: 3aa39bb7388fafb4c5c2954cec476c1a19fd8692 (plain)
1
2
3
4
5
struct G;

fn main() {
    let g = G(); //~ ERROR: expected function, found struct `G`
}