Skip to content

Add a tidy check to enforce that all compiler/*/Cargo.tomlcontains lints.workspace = true #138195

Closed as not planned
@jieyouxu

Description

@jieyouxu

To consistently enforce lints across all compiler/ crates after #138084.

I.e. check that all compiler crates have

[lints]
workspace = true

see #138084 (comment) #138084 (comment).

See also #138106; note that this is only applicable for non-tool lints (i.e. not for rustc::xxx internal tool lints).

Metadata

Metadata

Assignees

Labels

A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.A-tidyArea: The tidy toolC-enhancementCategory: An issue proposing an enhancement or a PR with one.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions