Skip to content

regression: cannot move a value of type [u8] #130580

Description

@BoxyUwU
[INFO] [stdout] error[E0161]: cannot move a value of type `[u8]`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zerovec-0.8.1/src/flexzerovec/slice.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Eq, PartialEq)]
[INFO] [stdout]    |              --------- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 23 |     data: [u8],
[INFO] [stdout]    |     ^^^^^^^^^^ the size of `[u8]` cannot be statically determined
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info)

note: if the relevant team already accepted this breakage then this issue can be closed

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions