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