Skip to content

refactor: Run cargo clippy on all rust files #4939

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

Merged
merged 6 commits into from
Aug 16, 2022
Merged

refactor: Run cargo clippy on all rust files #4939

merged 6 commits into from
Aug 16, 2022

Conversation

Marwes
Copy link
Contributor

@Marwes Marwes commented Jun 29, 2022

We didn't run clippy on any tests and benchmarks before.

@Marwes Marwes requested a review from a team as a code owner June 29, 2022 10:34
@Marwes Marwes requested review from OfTheDelmer and removed request for a team June 29, 2022 10:34
@Marwes Marwes force-pushed the clippy2 branch 4 times, most recently from d027d74 to 0c67f92 Compare July 6, 2022 10:25
@Marwes
Copy link
Contributor Author

Marwes commented Jul 6, 2022

Had to update rust as the undocumented_unsafe_blocks lint had a bug in it (probably fixed by rust-lang/rust-clippy#8450) .

@Marwes
Copy link
Contributor Author

Marwes commented Jul 7, 2022

ping @OfTheDelmer

@Marwes Marwes force-pushed the clippy2 branch 3 times, most recently from 5e91e84 to de24ae3 Compare August 15, 2022 12:25
@Marwes Marwes requested a review from skartikey August 15, 2022 12:25
Markus Westerlind added 6 commits August 16, 2022 13:28
@Marwes Marwes merged commit e7f7023 into master Aug 16, 2022
@Marwes Marwes deleted the clippy2 branch August 16, 2022 12:14
Marwes pushed a commit that referenced this pull request Aug 17, 2022
Didn't think about us being locked to 1.58 when I created #4939 so I updated rust to fix the bug with the `undocumented_unsafe_blocks` lint. This downgrades rust again and adds an allow to work around it.

cc #5084 (comment)
@Marwes Marwes mentioned this pull request Aug 17, 2022
2 tasks
jsternberg pushed a commit that referenced this pull request Aug 17, 2022
* chore: Downgrade rust to 1.58 again

Didn't think about us being locked to 1.58 when I created #4939 so I updated rust to fix the bug with the `undocumented_unsafe_blocks` lint. This downgrades rust again and adds an allow to work around it.

cc #5084 (comment)

* chore: make generate
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.

2 participants