1 error[E0599]: no method named `clone` found for enum `c_void` in the current scope
2 --> $DIR/non-copyable-void.rs:11:23
4 LL | let _z = (*y).clone();
5 | ^^^^^ method not found in `c_void`
7 ::: $SRC_DIR/core/src/clone.rs:LL:COL
9 LL | fn clone(&self) -> Self;
12 | the method is available for `Arc<c_void>` here
13 | the method is available for `Rc<c_void>` here
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0599`.