Skip to content

Custom handling for const-stability of assign operators in assign_op_pattern lint should be removed #15285

@clarfonthey

Description

@clarfonthey

Issue #14871 was filed because, historically, these assign-operators were not usable in const context, even though the regular operators were. However, rust-lang/rust#143949 aims to fix this, and it currently uses a #[clippy::msrv = "1.88"] hack to avoid the tests triggering an error.

Longer-term, this special handling should be removed, since all of this is dependent on what will eventually be an older version of the nightly compiler, and my understanding is that while clippy handles MSRV, distinguishing between nightly versions is not supported.

Relevant discussion: https://github.com/rust-lang/rust/pull/143949/files#r2208466376

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions