Skip to content

rdkafka-sys error: the trait Copy may not be implemented for this type #148

@jerry73204

Description

@jerry73204

I encountered this error when building the master branch. It seems a bindgen issue is relevant.

error[E0204]: the trait `Copy` may not be implemented for this type
    --> /path/to/crate/target/debug/build/rdkafka-sys-7db474a7fb7f90d0/out/bindings.rs:3460:17
     |
3460 | #[derive(Debug, Copy, Clone)]
     |                 ^^^^
...
3465 |     pub __cmsg_data: __IncompleteArrayField<::std::os::raw::c_uchar>,
     |     ---------------------------------------------------------------- this field does not implement `Copy`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions