Skip to content

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

@berkus

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?

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