Skip to content

Not buildable with rustc 1.90 #6

@berkus

Description

@berkus
   Compiling hctr2 v0.2.0
error: let chains are only allowed in Rust 2024 or later
   --> /Users/berkus/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/hctr2-0.2.0/src/lib.rs:304:12
    |
304 |         if let Some(n) = self.tweak_len && n == tweak.len() {
    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: could not compile `hctr2` (lib) due to 1 previous error

Not sure how is that supposed to work, since hctr2 has edition = "2021" in the Cargo.toml file.

#[feature(let_chains)] seems to have no effect.

╰─➤ rustc --version
rustc 1.90.0-nightly (5adb489a8 2025-07-05)

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