Skip to content

Build is broken with latest nightly #2

@ia0

Description

@ia0
% rustc --version
rustc 1.76.0-nightly (f967532a4 2023-12-08)
% cargo build
   Compiling vb64 v0.1.2
error[E0405]: cannot find trait `Swizzle2` in this scope
   --> src/util.rs:78:27
    |
78  |     impl<const $N: usize> Swizzle2<$N, $N> for Swz
    |                           ^^^^^^^^ not found in this scope
    |
   ::: src/simd.rs:141:16
    |
141 |   let output = swizzle!(N; decoded_chunks, array!(N; |i| i + i / 3));
    |                ----------------------------------------------------- in this macro invocation
    |
    = note: this error originates in the macro `swizzle` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0412]: cannot find type `Which` in this scope
   --> src/util.rs:82:21
    |
82  |       const INDEX: [Which; $N] = {
    |                     ^^^^^ not found in this scope
    |
   ::: src/simd.rs:141:16
    |
141 |   let output = swizzle!(N; decoded_chunks, array!(N; |i| i + i / 3));
    |                ----------------------------------------------------- in this macro invocation
    |
    = note: this error originates in the macro `swizzle` (in Nightly builds, run with -Z macro-backtrace for more info)

[...]

I didn't try to bisect, but it used to work with a 2023-11-xx nightly.

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