]> git.lizzy.rs Git - rust.git/blob - tests/ui/structs/issue-80853.rs
Rollup merge of #106752 - sulami:master, r=estebank
[rust.git] / tests / ui / structs / issue-80853.rs
1 struct S;
2
3 fn repro_ref(thing: S) {
4     thing(); //~ ERROR expected function, found `S`
5 }
6
7 fn main() {}