bump pinned clippy version #593
Annotations
4 warnings
Run actions-rs-plus/clippy-check@v2:
mavlink-bindgen/src/parser.rs#L1367
warning: first doc comment paragraph is too long
--> mavlink-bindgen/src/parser.rs:1367:1
|
1367 | / /// CRC operates over names of the message and names of its fields
1368 | | /// Hence we have to preserve the original uppercase names delimited with an underscore
1369 | | /// For field names, we replace "type" with "mavtype" to make it rust compatible (this is
1370 | | /// needed for generating sensible rust code), but for calculating crc function we have to
1371 | | /// use the original name "type"
| |_
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph
= note: `#[warn(clippy::too_long_first_doc_paragraph)]` on by default
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/mavlink-0a956b28b9e7fd7d/out/mod.rs#L1
warning: unexpected `cfg` condition value: `storm32`
--> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-0a956b28b9e7fd7d/out/mod.rs:1:4816
|
1 | ...essary_cast)] # [allow (clippy :: bad_bit_mask)] # [cfg (feature = "storm32")] pub mod storm32 ;
| ^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `all`, `all-dialects`, `ardupilotmega`, `asluav`, `avssuas`, `common`, `cubepilot`, `default`, `development`, `direct-serial`, `embedded`, `embedded-hal-02`, `emit-description`, `emit-extensions`, `format-generated-code`, `icarous`, `matrixpilot`, `minimal`, `paparazzi`, `python_array_test`, `serde`, `signing`, `slugs`, `standard`, `std`, `tcp`, `test`, `tokio-1`, `ualberta`, `uavionix`, and `udp`
= help: consider adding `storm32` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/mavlink-0a956b28b9e7fd7d/out/ardupilotmega.rs#L1
warning: this looks like an `else if` but the `else` is missing
--> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-0a956b28b9e7fd7d/out/ardupilotmega.rs:1:190696
|
1 | ...es, but got {})" , Self :: ENCODED_LEN , __tmp . remaining () ,) } if matches ! (version , MavlinkVersion :: V2) { let len = __tmp . l...
| ^
|
= note: to remove this lint, add the missing `else` or add a new line before the second `if`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_else_formatting
= note: `#[warn(clippy::suspicious_else_formatting)]` on by default
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/mavlink-0a956b28b9e7fd7d/out/ardupilotmega.rs#L1
warning: this looks like an `else if` but the `else` is missing
--> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-0a956b28b9e7fd7d/out/ardupilotmega.rs:1:630433
|
1 | ...es, but got {})" , Self :: ENCODED_LEN , __tmp . remaining () ,) } if matches ! (version , MavlinkVersion :: V2) { let len = __tmp . l...
| ^
|
= note: to remove this lint, add the missing `else` or add a new line before the second `if`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_else_formatting
|
Loading