The original patch got reverted upstream, but LaneCount and SupportedLaneCount no longer work in Rust 1.95.0 --- a/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs +++ b/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs @@ -152,7 +152,6 @@ impl_unsafe_marker_for_simd!( unsafe impl Pod for core::simd::Simd where T: core::simd::SimdElement + Pod, - core::simd::LaneCount: core::simd::SupportedLaneCount, { } --- a/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs +++ b/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs @@ -231,7 +231,6 @@ impl_unsafe_marker_for_simd!( unsafe impl Zeroable for core::simd::Simd where T: core::simd::SimdElement + Zeroable, - core::simd::LaneCount: core::simd::SupportedLaneCount, { }