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

Fix auto-fixable Clippy warnings #2024

Closed
wants to merge 1 commit into from
Closed

Conversation

dhouck
Copy link
Contributor

@dhouck dhouck commented Aug 26, 2023

(Creating this, as I said I would in #2021)

This does not fix all the new Clippy warnings, assuming the set I see after I ran rustup this morning is the same set GitHub sees. There are four warnings internal to the bitflags! macro which Iʼm not sure how to fix. Clippy doesnʼt seem to have a good option to disable lints inside a macro, and disabling it globally seems excessive. Bumping the bitflags crate to the latest version makes it stop compiling correctly; bumping it to the latest 1.x version compiles and passes all tests but does not get rid of the warning.

Thoughts? Or should this be merged as-is and the rest handled separately by someone who knows this codebase better?

@dhouck
Copy link
Contributor Author

dhouck commented Aug 26, 2023

Never mind; you got there first.

@dhouck dhouck closed this Aug 26, 2023
@dhouck dhouck deleted the clippy branch August 26, 2023 19:30
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.

1 participant