]> git.lizzy.rs Git - rust.git/blob - tests/ui/structs/issue-80853.stderr
Rollup merge of #106793 - Mark-Simulacrum:normalize-test, r=compiler-errors
[rust.git] / tests / ui / structs / issue-80853.stderr
1 error[E0618]: expected function, found `S`
2   --> $DIR/issue-80853.rs:4:5
3    |
4 LL | fn repro_ref(thing: S) {
5    |              ----- `thing` has type `S`
6 LL |     thing();
7    |     ^^^^^--
8    |     |
9    |     call expression requires function
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0618`.