1 error[E0618]: expected function, found `S`
2 --> $DIR/issue-80853.rs:4:5
4 LL | fn repro_ref(thing: S) {
5 | ----- `thing` has type `S`
9 | call expression requires function
11 error: aborting due to 1 previous error
13 For more information about this error, try `rustc --explain E0618`.