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

Globally deny Clippy and rust_2018_idioms #418

Merged
merged 4 commits into from
Jul 2, 2021
Merged

Conversation

ojeda
Copy link
Member

@ojeda ojeda commented Jul 2, 2021

No description provided.

@ksquirrel

This comment has been minimized.

@ojeda
Copy link
Member Author

ojeda commented Jul 2, 2021

@wedsonaf This includes a small change to be Clippy warning free now that it applies globally, i.e. to kernel modules too.

Also, there were a few cleanups required for rust_2018_idioms in Binder, so I decided to go with an allow in Binder for the moment -- it would be great to clean them up whenever possible, but there is no rush.

@ojeda ojeda changed the title Deny Clippy warnings and rust_2018_idioms Globally deny Clippy and rust_2018_idioms Jul 2, 2021
@ojeda
Copy link
Member Author

ojeda commented Jul 2, 2021

The Clippy part was triggered thanks to @flip1995 that made me notice that rust-lang/rust-clippy#6799 was working.

ojeda added 3 commits July 2, 2021 20:15
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
This allows to remove the `#[deny(clippy::*)]` lines,
and makes catching Clippy issues in the leaf modules.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
@ksquirrel

This comment has been minimized.

@ksquirrel

This comment has been minimized.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
@ksquirrel
Copy link
Member

Review of b548e03e49f2:

  • ⚠️ The PR body message looks too short.
  • ✔️ Commit b94a010: Looks fine!
  • ✔️ Commit 349b967: Looks fine!
  • ✔️ Commit 9b15640: Looks fine!
  • ✔️ Commit b548e03: Looks fine!

@ojeda ojeda merged commit 8f77a98 into Rust-for-Linux:rust Jul 2, 2021
@ojeda ojeda deleted the deny branch July 2, 2021 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants