rust/tests/ui/non-copyable-void.stderr
2024-04-15 08:54:11 -04:00

9 lines
333 B
Text

error[E0599]: no method named `clone` found for enum `c_void` in the current scope
--> $DIR/non-copyable-void.rs:7:23
|
LL | let _z = (*y).clone();
| ^^^^^ method not found in `c_void`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0599`.