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

(toolchain update clippy canary PR, ignore for now) #1719

Closed
wants to merge 14 commits into from

Conversation

cbiffle
Copy link
Collaborator

@cbiffle cbiffle commented Apr 4, 2024

No description provided.

@cbiffle cbiffle force-pushed the cbiffle/toolchain-update-2024-04-clippy branch 9 times, most recently from c015a9c to 89b3b40 Compare April 5, 2024 01:04
cbiffle added 12 commits April 5, 2024 09:19
These traits are newly detected as dead by the new toolchain, so after
discussion with @flihp I'm removing them -- we can always get them out
of git if we need them.
This only covers cases that appeared trivially correct on local
inspection.
These are not actually unused, annoyingly.
All _new_ instances of this warning firing are false positives, and are
suppressed in this commit.
Clippy would like us to automatically derive default for enums where
possible instead of writing our own impl. I happen to agree with Clippy.
This adds Default impls where it seemed appropriate and/or easy to do
so, and suppresses the warning in cases where it'd just be dead code
generated to appease the clipster.
@cbiffle cbiffle force-pushed the cbiffle/toolchain-update-2024-04-clippy branch from 89b3b40 to 2959779 Compare April 5, 2024 16:24
cbiffle added 2 commits April 5, 2024 09:41
This is the only module that uses static mut and unsafe in a way that is
not obviously correct. In the interest of preventing regressions
everywhere _else,_ I'm suppressing the relevant warning for this module
only.
@cbiffle cbiffle force-pushed the cbiffle/toolchain-update-2024-04-clippy branch from 2959779 to d1e8e12 Compare April 5, 2024 16:42
@cbiffle cbiffle closed this Apr 15, 2024
@cbiffle cbiffle deleted the cbiffle/toolchain-update-2024-04-clippy branch April 15, 2024 18:00
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