rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
97.31k stars 12.58k forks source link

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

Open BoxyUwU opened 1 week ago

BoxyUwU commented 1 week ago
[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

compiler-errors commented 1 week ago

https://github.com/rust-lang/rust/pull/127907, though it wasn't noted in the crater run.

saethlin commented 1 week ago

though it wasn't noted in the crater run.

Because the regression here is only for doc builds. The crate already doesn't build on stable. I don't know if you already noticed this, but it sure threw me for a loop.

apiraino commented 1 week ago

This crate has been deprecated by them (see their issue https://togithub.com/unicode-org/icu4x/issues/4302).

Would it make sense to retire it from our crater runs either?

@rustbot label -I-prioritize