rust/src/test/ui/non-copyable-void.stderr

18 lines
566 B
Plaintext

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`
|
::: $SRC_DIR/core/src/clone.rs:LL:COL
|
LL | fn clone(&self) -> Self;
| -----
| |
| the method is available for `Arc<c_void>` here
| the method is available for `Rc<c_void>` here
error: aborting due to previous error
For more information about this error, try `rustc --explain E0599`.