-
Notifications
You must be signed in to change notification settings - Fork 21
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
Fix all lints currently disabled in scripts/sync.sh #565
Comments
May I take this issue? |
Of course, that would be great. That's a good first issue. You can start by changing those 2 lines: Lines 33 to 34 in 5da7a5e
into (I'm removing case $crate in
prelude) add_lint $file warn rust.elided-lifetimes-in-paths ;;
esac Then run Once there are no warnings, you can create your first PR. Then, you can add more and more crates to the case pattern, like: case $crate in
board|prelude) add_lint $file warn rust.elided-lifetimes-in-paths ;;
esac And create one PR for each non-trivial crate (you can group multiple crates together if there's nothing or almost nothing to change). The final state (i.e. when adding the last remaning crate) should simply be: add_lint $file warn rust.elided-lifetimes-in-paths Thanks! Feel free to ask questions if you're blocked. |
Thank you @ia0 for the detailed instructions! I'll keep these in mind |
@ia0 , Hello. I ran
|
To debug:
I suspect that one of those 2 lines doesn't behave as expected in your case: Lines 30 to 31 in d32a3d9
|
We want to enable the following lints:
rust.elided-lifetimes-in-paths
rust.missing-debug-implementations
(not sure if good thing)rust.missing-docs
for all published librariesrust.unreachable-pub
rust.unused-results
The text was updated successfully, but these errors were encountered: