fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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