summaryrefslogtreecommitdiffstats
path: root/tests/ui/structs/issue-80853.rs
blob: 242d0af959d40f385d2609a0450c3138c81d62cd (plain)
1
2
3
4
5
6
7
struct S;

fn repro_ref(thing: S) {
    thing(); //~ ERROR expected function, found `S`
}

fn main() {}