Skip to content

Add lint that all crates are #[unstable] #31122

Closed
@brson

Description

@brson

It's easy to forget to write it when adding new crates, as in #31120, and then release a crate as stable accidentally.

In tidy.py add a whitelist of crates that can be stable; in the loop, if the file name looks like 'src/*/lib.rs' it should have the attribute unless its on the whitelist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustcE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions