Skip to content

docs(lints): how to configure Cargo lints - #17441

Merged
epage merged 2 commits into
rust-lang:masterfrom
weihanglo:lints-docs
Sep 5, 2026
Merged

docs(lints): how to configure Cargo lints#17441
epage merged 2 commits into
rust-lang:masterfrom
weihanglo:lints-docs

Conversation

@weihanglo

Copy link
Copy Markdown
Member

I found that we didn't really teach how to configure Cargo lints in docs.

@rustbot rustbot added A-documenting-cargo-itself Area: Cargo's documentation S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 5, 2026
@rustbot

rustbot commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

r? @epage

rustbot has assigned @epage.
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: @epage, @weihanglo
  • @epage, @weihanglo expanded to epage, weihanglo

Comment on lines +22 to +23
Cargo has the concept of a "lint group",
where you can toggle several warnings through one name.

@weihanglo weihanglo Sep 5, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@epage
epage enabled auto-merge September 5, 2026 12:31
@epage
epage added this pull request to the merge queue Sep 5, 2026
Merged via the queue into rust-lang:master with commit 77fb972 Sep 5, 2026
28 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 5, 2026
@weihanglo
weihanglo deleted the lints-docs branch September 5, 2026 14:05
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants