technocreatives / dbc-codegen

Generate Rust structs for messages from a dbc (CAN bus definition) file.
Apache License 2.0
43 stars 22 forks source link

clippy::integer_arithmetic lint no longer exists #58

Closed rlidwka closed 8 months ago

rlidwka commented 11 months ago

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:

https://github.com/technocreatives/dbc-codegen/blob/5223d92d5685fa3cd2f116cbf6356bd4d8bc61c4/src/lib.rs#L47

You can see details why it's renamed here: https://github.com/rust-lang/rust-clippy/pull/10674

killercup commented 8 months ago

Fixed in 91c8093b98328cf930144e9fe95fa510707c9eb1