]> git.proxmox.com Git - rustc.git/blob - src/test/ui/non-copyable-void.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / non-copyable-void.stderr
1 error[E0599]: no method named `clone` found for enum `c_void` in the current scope
2 --> $DIR/non-copyable-void.rs:11:23
3 |
4 LL | let _z = (*y).clone();
5 | ^^^^^ method not found in `c_void`
6 |
7 ::: $SRC_DIR/core/src/clone.rs:LL:COL
8 |
9 LL | fn clone(&self) -> Self;
10 | -----
11 | |
12 | the method is available for `Arc<c_void>` here
13 | the method is available for `Rc<c_void>` here
14
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0599`.