rp-rs / rp2040-pac

A Rust PAC for the RP2040 Microcontroller
145 stars 28 forks source link

Disable clippy::derive_partial_eq_without_eq warning #62

Closed 9names closed 2 years ago

9names commented 2 years ago

Rust 1.63 clippy added a lint that is being triggered by svd2rust output. Disable that lint in CI for now.

Here's what the lint warning looks like:

warning: you are deriving `PartialEq` and can implement `Eq`
   --> src/usbctrl_regs/sie_status.rs:632:30
    |
632 | #[derive(Clone, Copy, Debug, PartialEq)]
    |                              ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
9names commented 2 years ago

Created an issue upstream to see if they can handle this: https://github.com/rust-embedded/svd2rust/issues/655