-
-
Notifications
You must be signed in to change notification settings - Fork 3k
refactor(diag): Simplify adding of new diagnostics #17015
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
1100efa
fix(diag): Require -Zcargo-lints for mostly-unused lint
epage cffda16
refactor(diag): Make workspace parse pass data driven
epage ccdf7e2
refactor(diag): Make package lints have a consistent parameter list
epage 48a3e90
refactor(diag): Make package parse pass data driven
epage 1857c84
refAactor(diag): Move the PARSE_PASS_RULES
epage 66d0140
refactor(diag): Put the caller in charge of parse pass rules
epage 52967af
refactor(diag): Reduce lint visibility to catch uncalled rules
epage 3340db3
refactor(diag): Make rule fn names consistent
epage c48f494
refactor(diag): Pull in manifest like we do else where
epage a90293f
refactor(diag): Correctly classify missing_lints_features as a diagno…
epage b593911
refactor(diag): Pull out a struct for result of level calculation
epage 2ba30de
refactor(diag): Pull out ManifestFor creation
epage 1fa836a
refactor(diag): Make it easy to access items in tests
epage c7afb71
refactor(diag): Associate lint definition with rule
epage 8a2a538
refactor(diag): Split unknown_lints into layers
epage af45185
refactor(diag): Freshly get lints for unknown_lints
epage c2684c1
refactor(diag): Pull lint level calculation into pass
epage File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@joshtriplett, just wanted to make you aware of this change
View changes since the review