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

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
rust-bors Bot pushed a commit to rust-lang/rust that referenced this pull request Sep 12, 2026
Update cargo submodule

6 commits in 3c0b534756e166d12eb9fd2e1abfe5b42ac6101e..7941be6fb416b4cd9666aef7b858dfea25587a8c
2026-09-04 17:03:10 +0000 to 2026-09-11 20:47:37 +0000
- fix(install): use packaged lockfile by default (rust-lang/cargo#17388)
- test: add more comprehensive workspace feature unification tests (rust-lang/cargo#17466)
- chore(deps): update crossbeam-epoch to 0.9.21 (rust-lang/cargo#17427)
- Fixed stale comment about fingerprint checking method (rust-lang/cargo#17450)
- docs(lints): how to configure Cargo lints (rust-lang/cargo#17441)
- Fix relative symlink handling in write_atomic (rust-lang/cargo#17362)

r? ghost
@rustbot rustbot added this to the 1.100.0 milestone Sep 12, 2026
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