Skip to content

Explain how to temporarily use paths instead of diagnostic items #15150

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

samueltardieu
Copy link
Contributor

Paths into the standard library may be added temporarily until a diagnostic item is added to the library and synced with Clippy sources. This documents how to do this.

This also adds a test to check that consistent and easy to notice names are used, and that a PR into rust-lang/rust has been opened to add the corresponding diagnostic items.

The test is a no-op if run as part of the compiler test suite and will always succeed.

changelog: none

r? @Alexendoo

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jun 26, 2025
@samueltardieu samueltardieu force-pushed the stdlib-diag-items-test branch 2 times, most recently from e574d7c to b26ac4d Compare June 26, 2025 18:49
Paths into the standard library may be added temporarily until a
diagnostic item is added to the library and synced with Clippy sources.
This documents how to do this.

This also adds a test to check that consistent and easy to notice names
are used, and that a PR into `rust-lang/rust` has been opened to add
the corresponding diagnostic items.

The test is a no-op if run as part of the compiler test suite
and will always succeed.
@samueltardieu samueltardieu force-pushed the stdlib-diag-items-test branch from b26ac4d to f1bc376 Compare June 26, 2025 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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