2020-01-08 08:05:31 -08:00
|
|
|
error[E0599]: no method named `clone` found for enum `libc::c_void` in the current scope
|
2020-04-01 04:10:13 +03:00
|
|
|
--> $DIR/non-copyable-void.rs:11:23
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
LL | let _z = (*y).clone();
|
2019-09-06 12:00:07 -07:00
|
|
|
| ^^^^^ method not found in `libc::c_void`
|
2020-03-17 11:45:02 -04:00
|
|
|
|
|
2020-06-11 21:31:49 -05:00
|
|
|
::: $SRC_DIR/core/src/clone.rs:LL:COL
|
2020-03-17 11:45:02 -04:00
|
|
|
|
|
|
|
|
LL | fn clone(&self) -> Self;
|
|
|
|
| -----
|
|
|
|
| |
|
|
|
|
| the method is available for `std::sync::Arc<libc::c_void>` here
|
|
|
|
| the method is available for `std::rc::Rc<libc::c_void>` here
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0599`.
|