]> git.lizzy.rs Git - rust.git/blob - src/test/ui/non-copyable-void.stderr
Merge commit '3e7c6dec244539970b593824334876f8b6ed0b18' into clippyup
[rust.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`.