-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Clippy Book Chapter Updates Reborn: Lint Passes #10622
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
Conversation
book/src/development/lint_passes.md
Outdated
that every Clippy developers must make: to use | ||
[`EarlyLintPass`][early_lint_pass] or [`LateLintPass`][late_lint_pass]. | ||
|
||
In short, the `LateLintPass` has access to type information while the |
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.
Not only type information but also resolve
: In an early pass, you usually have no information what a symbol means, so most early lints are plainly syntactic.
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.
Fixed. (Talks about that in the introduction and in the "Early Lint Pass" section)
Thanks, I have a 12h flight ahead of me on Sunday, where I'll look at these PRs. |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
Clippy Book Chapter Updates Reborn: Method Checking This PR adds a new chapter to the book: "Method Checking". Some major re-phrasing was done and some changes in the code comments (apart from grammar and minor changes). ## Notes - Requires #10595 **and** #10622 to be merged before this, or else several links will be broken - To talk about the whole project, please use the tracking issue for the project #10597 (It also contains a timeline, discussions and more information) changelog: Add a new "Method Checking" chapter to the book. r? `@flip1995`
This PR adds a new chapter to the book: "Lint passes". No major changes apart from some re-phrasing, fixing typos... etc.
Notes
changelog: Add a new "Lint passes" chapter to the book
r? @flip1995