Skip to content
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

Fixes some non-default warnings when running clippy #2740

Closed
wants to merge 1 commit into from

Conversation

kennykerr
Copy link
Collaborator

The following lint produces some additional suggestions fixed by this update. As mentioned in #2739 it would be nice to have a way to tighten up these checks automatically via yml workflows, but for now at least this takes care of the majority of the noise coming from this lint.

cargo clippy -- --warn rust_2018_idioms

Fixes: #2739

@MarijnS95
Copy link
Contributor

Is this enough to not emit the warnings at all (for some crates)? If so, it might be time to add #![warn(rust_2018_idioms)] to those crates so that the same issues won't slip in again.

Don't forget about unused_qualifications!

@kennykerr
Copy link
Collaborator Author

Will open a new PR for workspace lints.

@kennykerr kennykerr closed this Dec 12, 2023
@kennykerr kennykerr deleted the rust_2018_idioms branch December 12, 2023 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deny rust_2018_idioms and unused_qualifications in crate roots
2 participants