Skip to content

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

@fmease

Description

@fmease
const trait Trait {}

doesn't lead to a const_trait_impl feature gate error.

Affects 1.90 beta and nightly/master.

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