summaryrefslogtreecommitdiffstats
path: root/src/test/ui/structs/issue-80853.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/structs/issue-80853.stderr')
-rw-r--r--src/test/ui/structs/issue-80853.stderr13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/ui/structs/issue-80853.stderr b/src/test/ui/structs/issue-80853.stderr
new file mode 100644
index 000000000..1c7d52b6d
--- /dev/null
+++ b/src/test/ui/structs/issue-80853.stderr
@@ -0,0 +1,13 @@
+error[E0618]: expected function, found `S`
+ --> $DIR/issue-80853.rs:4:5
+ |
+LL | fn repro_ref(thing: S) {
+ | ----- `thing` has type `S`
+LL | thing();
+ | ^^^^^--
+ | |
+ | call expression requires function
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0618`.