Skip to content

const trait Trait {} syntax is accepted without a feature gate on 1.90 beta and master #144958

Description

@fmease
const trait Trait {}

doesn't lead to a const_trait_impl feature gate error.

Affects 1.90 beta and nightly/master.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-parserArea: The lexing & parsing of Rust source code to an ASTC-bugCategory: This is a bug.P-highHigh priorityPG-const-traitsProject group: Const traitsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions