-
I'm trying to figure out how to make A simple code snippet to demonstrate it: pub fn f() {
if 100 > i32::MAX {}
} This generates error by default, but with |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
I might just not get the use case here. As a workaround, I can suggest to run |
Beta Was this translation helpful? Give feedback.
-D warnings
doesn't really make sense withfix
. This is because when you use--fix
you want that your code gets fixed andrustfix
doesn't care if it fixes warnings or errors.I might just not get the use case here. As a workaround, I can suggest to run
cargo clippy -- -Dwarnings
after runningcargo clippy --fix
.