Skip to content

feat(diag): Add the 'cargo::default' group#17033

Open
epage wants to merge 5 commits into
rust-lang:masterfrom
epage:lint-default
Open

feat(diag): Add the 'cargo::default' group#17033
epage wants to merge 5 commits into
rust-lang:masterfrom
epage:lint-default

Conversation

@epage
Copy link
Copy Markdown
Contributor

@epage epage commented May 25, 2026

What does this PR try to resolve?

Adds a "visible by default" lint group to mirror clippy::all which should gain a clippy::default alias.

Personally, my motivation is to reduce noise in tests by making it easy to disable all lints except those under tests.

How to test and review this PR?

@rustbot rustbot added A-documenting-cargo-itself Area: Cargo's documentation A-infrastructure Area: infrastructure around the cargo repo, ci, releases, etc. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 25, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented May 25, 2026

r? @ehuss

rustbot has assigned @ehuss.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @ehuss, @epage, @weihanglo
  • @ehuss, @epage, @weihanglo expanded to ehuss, epage, weihanglo
  • Random selection from ehuss, weihanglo

Copy link
Copy Markdown
Contributor

@ehuss ehuss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable to me.

@weihanglo or @Muscraft do you have any comments before merging?

View changes since this review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-documenting-cargo-itself Area: Cargo's documentation A-infrastructure Area: infrastructure around the cargo repo, ci, releases, etc. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants