rust/tests/ui/structs/issue-80853.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
104 B
Rust
Raw Normal View History

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