Skip to content

In rustc 1.90 the feature[let_chains] does not work in editions prior to 2024. #145878

Description

@berkus

See ericlagergren/hctr2-rs#6 (comment)

The older edition = 2021 code which uses feature[let_chains] now stopped compiling in rustc 1.90 saying

error: let chains are only allowed in Rust 2024 or later

Although the feature flag was supported before and there are crates depending on it.

Intentional?

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

    C-discussionCategory: Discussion or questions that doesn't represent real issues.F-let_chains`#![feature(let_chains)]`

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions