Skip to content

audit: ensure every gated feature has a compile-fail test #22820

Closed
@pnkfelix

Description

@pnkfelix

I was sloppy when I implemented #22173 and did not include a test. So, surprise, a follow-on commit a few days later broke it.

As self-punishment for neglecting to include a regression test, I am assigning myself the task of reviewing our test suite to make sure that every feature-gate has a test.


Here is a transcribed list of feature gates, based on feature_gate.rs, that I have annotated according to whether the feature is Accepted/Removed (and thus needs no tests), Active/Deprecated but has tests already (marked with an x, or Active/Deprecated but has no tests that I saw via a cursory grep/skim.

Metadata

Metadata

Assignees

Labels

E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions