1 error[E0599]: no method named `clone` found for type `libc::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 `libc::c_void`
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0599`.