Skip to content

clippy::integer_arithmetic lint no longer exists #58

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

Closed
rlidwka opened this issue Jul 11, 2023 · 1 comment
Closed

clippy::integer_arithmetic lint no longer exists #58

rlidwka opened this issue Jul 11, 2023 · 1 comment

Comments

@rlidwka
Copy link

rlidwka commented Jul 11, 2023

Clippy complains that, I quote, "lint clippy::integer_arithmetic has been renamed to clippy::arithmetic_side_effects".

This lint directive is created by dbc-codegen in generated code here:

writeln!(&mut w, "#![deny(clippy::integer_arithmetic)]")?;

You can see details why it's renamed here: rust-lang/rust-clippy#10674

@killercup
Copy link
Member

Fixed in 91c8093

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

No branches or pull requests

2 participants