-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
chore: address Rust 1.72 clippy lints #2011
Conversation
.cargo/config.toml
Outdated
@@ -1,4 +1,4 @@ | |||
[target.'cfg(all())'] | |||
[build] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With [target.'cfg(all())']
, all allowed lints (such as as
conversions, missing panics docs, etc.) were somehow still raising warnings.
I'm not sure if there are any cons of using the build
table for this purpose, I'll raise this issue on EmbarkStudios/rust-ecosystem#59, will update this as required.
69c0b8d
Weird enough, I'm able to get this to pass |
Co-authored-by: Sampras Lopes <[email protected]>
Type of Change
Description
This PR addresses a clippy lint stabilized in Rust 1.72.
Motivation and Context
N/A
How did you test it?
N/A
Checklist
cargo +nightly fmt --all
cargo clippy