fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

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