summaryrefslogtreecommitdiffstats
path: root/src/test/ui/non-copyable-void.stderr
blob: 99af04e7cd97e2b3d743d9f61eafac399ffd9f2c (plain)
1
2
3
4
5
6
7
8
9
error[E0599]: no method named `clone` found for enum `c_void` in the current scope
  --> $DIR/non-copyable-void.rs:11:23
   |
LL |         let _z = (*y).clone();
   |                       ^^^^^ method not found in `c_void`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0599`.