summaryrefslogtreecommitdiffstats
path: root/src/test/ui/non-copyable-void.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/non-copyable-void.stderr')
-rw-r--r--src/test/ui/non-copyable-void.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/non-copyable-void.stderr b/src/test/ui/non-copyable-void.stderr
new file mode 100644
index 000000000..99af04e7c
--- /dev/null
+++ b/src/test/ui/non-copyable-void.stderr
@@ -0,0 +1,9 @@
+error[E0599]: no method named `clone` found for enum `c_void` in the current scope
+ --> $DIR/non-copyable-void.rs:11:23
+ |
+LL | let _z = (*y).clone();
+ | ^^^^^ method not found in `c_void`
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0599`.