rust/tests/ui/non-copyable-void.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
334 B
Plaintext
Raw Normal View History

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