build(deps): update bitflags requirement from 1.2.1 to 2.6.0 #564
Annotations
10 errors and 2 warnings
Run actions-rs-plus/clippy-check@v2:
target/debug/build/mavlink-b93a66518e12f74f/out/uavionix.rs#L1
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Serialize` is not satisfied
--> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-b93a66518e12f74f/out/uavionix.rs:1:10115
|
1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct EscFailureFlags : u16 { const ESC_FAILURE_NONE = 0 ; const ESC_FAILURE_OVER_CURRENT = 1 ; const ESC_FAILURE_OVER_VOLTAGE = 2 ; const ESC_FAILURE_OVER_TEMPERATURE = 4 ; const ESC_FAILURE_OVER_RPM = 8 ; const ESC_FAILURE_INCONSISTENT_CMD = 16 ; const ESC_FAILURE_MOTOR_STUCK = 32 ; const ESC_FAILURE_GENERIC = 64 ; } } im...
| ------------------------------------------------------^^^^^^^^^---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| | |
| | the trait `ardupilotmega::_::_serde::Serialize` is not implemented for `uavionix::_::InternalBitFlags`
| required by a bound introduced by this call
|
= help: the following other types implement trait `ardupilotmega::_::_serde::Serialize`:
bool
char
isize
i8
i16
i32
i64
i128
and 1515 others
note: required by a bound in `ardupilotmega::_::_serde::Serializer::serialize_newtype_struct`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/ser/mod.rs:907:21
|
901 | fn serialize_newtype_struct<T>(
| ------------------------ required by a bound in this associated function
...
907 | T: ?Sized + Serialize;
| ^^^^^^^^^ required by this bound in `Serializer::serialize_newtype_struct`
= note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Run actions-rs-plus/clippy-check@v2:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.6.0/src/public.rs#L17
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Deserialize<'_>` is not satisfied
--> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-b93a66518e12f74f/out/uavionix.rs:1:10061
|
1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct EscFailureFlags : u16 { const ESC_FAILURE_NONE = 0 ; const ESC_FAILURE_OVER_CURRENT = 1 ; const ESC_FAILURE_OVER_VOLTAGE = 2 ; const ESC_FAILURE_OVER_TEMPERATURE = 4 ; const ESC_FAILURE_OVER_RPM = 8 ; const ESC_FAILURE_INCONSISTENT_CMD = 16 ; const ESC_FAILURE_MOTOR_STUCK = 32 ; const ESC_FAILURE_GENERIC = 64 ; } } im...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ardupilotmega::_::_serde::Deserialize<'_>` is not implemented for `uavionix::_::InternalBitFlags`
|
= help: the following other types implement trait `ardupilotmega::_::_serde::Deserialize<'de>`:
bool
char
isize
i8
i16
i32
i64
i128
and 2026 others
= note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Run actions-rs-plus/clippy-check@v2:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.6.0/src/public.rs#L17
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Deserialize<'_>` is not satisfied
--> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-b93a66518e12f74f/out/uavionix.rs:1:10061
|
1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct EscFailureFlags : u16 { const ESC_FAILURE_NONE = 0 ; const ESC_FAILURE_OVER_CURRENT = 1 ; const ESC_FAILURE_OVER_VOLTAGE = 2 ; const ESC_FAILURE_OVER_TEMPERATURE = 4 ; const ESC_FAILURE_OVER_RPM = 8 ; const ESC_FAILURE_INCONSISTENT_CMD = 16 ; const ESC_FAILURE_MOTOR_STUCK = 32 ; const ESC_FAILURE_GENERIC = 64 ; } } im...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ardupilotmega::_::_serde::Deserialize<'_>` is not implemented for `uavionix::_::InternalBitFlags`
|
= help: the following other types implement trait `ardupilotmega::_::_serde::Deserialize<'de>`:
bool
char
isize
i8
i16
i32
i64
i128
and 2026 others
note: required by a bound in `ardupilotmega::_::_serde::de::SeqAccess::next_element`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/de/mod.rs:1733:12
|
1731 | fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error>
| ------------ required by a bound in this associated function
1732 | where
1733 | T: Deserialize<'de>,
| ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element`
= note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/mavlink-b93a66518e12f74f/out/uavionix.rs#L1
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Serialize` is not satisfied
--> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-b93a66518e12f74f/out/uavionix.rs:1:15370
|
1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct MavEventCurrentSequenceFlags : u8 { const MAV_EVENT_CURRENT_SEQUENCE_FLAGS_RESET = 1 ; } } im...
| ------------------------------------------------------^^^^^^^^^-----------------------------------------------------------------------------------------------------------------------
| | |
| | the trait `ardupilotmega::_::_serde::Serialize` is not implemented for `uavionix::_::InternalBitFlags`
| required by a bound introduced by this call
|
= help: the following other types implement trait `ardupilotmega::_::_serde::Serialize`:
bool
char
isize
i8
i16
i32
i64
i128
and 1515 others
note: required by a bound in `ardupilotmega::_::_serde::Serializer::serialize_newtype_struct`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/ser/mod.rs:907:21
|
901 | fn serialize_newtype_struct<T>(
| ------------------------ required by a bound in this associated function
...
907 | T: ?Sized + Serialize;
| ^^^^^^^^^ required by this bound in `Serializer::serialize_newtype_struct`
= note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Run actions-rs-plus/clippy-check@v2:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.6.0/src/public.rs#L17
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Deserialize<'_>` is not satisfied
--> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-b93a66518e12f74f/out/uavionix.rs:1:15316
|
1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct MavEventCurrentSequenceFlags : u8 { const MAV_EVENT_CURRENT_SEQUENCE_FLAGS_RESET = 1 ; } } im...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ardupilotmega::_::_serde::Deserialize<'_>` is not implemented for `uavionix::_::InternalBitFlags`
|
= help: the following other types implement trait `ardupilotmega::_::_serde::Deserialize<'de>`:
bool
char
isize
i8
i16
i32
i64
i128
and 2026 others
= note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Run actions-rs-plus/clippy-check@v2:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.6.0/src/public.rs#L17
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Deserialize<'_>` is not satisfied
--> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-b93a66518e12f74f/out/uavionix.rs:1:15316
|
1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct MavEventCurrentSequenceFlags : u8 { const MAV_EVENT_CURRENT_SEQUENCE_FLAGS_RESET = 1 ; } } im...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ardupilotmega::_::_serde::Deserialize<'_>` is not implemented for `uavionix::_::InternalBitFlags`
|
= help: the following other types implement trait `ardupilotmega::_::_serde::Deserialize<'de>`:
bool
char
isize
i8
i16
i32
i64
i128
and 2026 others
note: required by a bound in `ardupilotmega::_::_serde::de::SeqAccess::next_element`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/de/mod.rs:1733:12
|
1731 | fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error>
| ------------ required by a bound in this associated function
1732 | where
1733 | T: Deserialize<'de>,
| ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element`
= note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/mavlink-b93a66518e12f74f/out/uavionix.rs#L1
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Serialize` is not satisfied
--> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-b93a66518e12f74f/out/uavionix.rs:1:16925
|
1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct MavPowerStatus : u16 { const MAV_POWER_STATUS_BRICK_VALID = 1 ; const MAV_POWER_STATUS_SERVO_VALID = 2 ; const MAV_POWER_STATUS_USB_CONNECTED = 4 ; const MAV_POWER_STATUS_PERIPH_OVERCURRENT = 8 ; const MAV_POWER_STATUS_PERIPH_HIPOWER_OVERCURRENT = 16 ; const MAV_POWER_STATUS_CHANGED = 32 ; } } im...
| ------------------------------------------------------^^^^^^^^^-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| | |
| | the trait `ardupilotmega::_::_serde::Serialize` is not implemented for `uavionix::_::InternalBitFlags`
| required by a bound introduced by this call
|
= help: the following other types implement trait `ardupilotmega::_::_serde::Serialize`:
bool
char
isize
i8
i16
i32
i64
i128
and 1515 others
note: required by a bound in `ardupilotmega::_::_serde::Serializer::serialize_newtype_struct`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/ser/mod.rs:907:21
|
901 | fn serialize_newtype_struct<T>(
| ------------------------ required by a bound in this associated function
...
907 | T: ?Sized + Serialize;
| ^^^^^^^^^ required by this bound in `Serializer::serialize_newtype_struct`
= note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Run actions-rs-plus/clippy-check@v2:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.6.0/src/public.rs#L17
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Deserialize<'_>` is not satisfied
--> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-b93a66518e12f74f/out/uavionix.rs:1:16871
|
1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct MavPowerStatus : u16 { const MAV_POWER_STATUS_BRICK_VALID = 1 ; const MAV_POWER_STATUS_SERVO_VALID = 2 ; const MAV_POWER_STATUS_USB_CONNECTED = 4 ; const MAV_POWER_STATUS_PERIPH_OVERCURRENT = 8 ; const MAV_POWER_STATUS_PERIPH_HIPOWER_OVERCURRENT = 16 ; const MAV_POWER_STATUS_CHANGED = 32 ; } } im...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ardupilotmega::_::_serde::Deserialize<'_>` is not implemented for `uavionix::_::InternalBitFlags`
|
= help: the following other types implement trait `ardupilotmega::_::_serde::Deserialize<'de>`:
bool
char
isize
i8
i16
i32
i64
i128
and 2026 others
= note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Run actions-rs-plus/clippy-check@v2:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.6.0/src/public.rs#L17
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Deserialize<'_>` is not satisfied
--> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-b93a66518e12f74f/out/uavionix.rs:1:16871
|
1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct MavPowerStatus : u16 { const MAV_POWER_STATUS_BRICK_VALID = 1 ; const MAV_POWER_STATUS_SERVO_VALID = 2 ; const MAV_POWER_STATUS_USB_CONNECTED = 4 ; const MAV_POWER_STATUS_PERIPH_OVERCURRENT = 8 ; const MAV_POWER_STATUS_PERIPH_HIPOWER_OVERCURRENT = 16 ; const MAV_POWER_STATUS_CHANGED = 32 ; } } im...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ardupilotmega::_::_serde::Deserialize<'_>` is not implemented for `uavionix::_::InternalBitFlags`
|
= help: the following other types implement trait `ardupilotmega::_::_serde::Deserialize<'de>`:
bool
char
isize
i8
i16
i32
i64
i128
and 2026 others
note: required by a bound in `ardupilotmega::_::_serde::de::SeqAccess::next_element`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/de/mod.rs:1733:12
|
1731 | fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error>
| ------------ required by a bound in this associated function
1732 | where
1733 | T: Deserialize<'de>,
| ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element`
= note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/mavlink-b93a66518e12f74f/out/uavionix.rs#L1
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Serialize` is not satisfied
--> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-b93a66518e12f74f/out/uavionix.rs:1:27574
|
1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct HilSensorUpdatedFlags : u32 { const HIL_SENSOR_UPDATED_NONE = 0 ; const HIL_SENSOR_UPDATED_XACC = 1 ; const HIL_SENSOR_UPDATED_YACC = 2 ; const HIL_SENSOR_UPDATED_ZACC = 4 ; const HIL_SENSOR_UPDATED_XGYRO = 8 ; const HIL_SENSOR_UPDATED_YGYRO = 16 ; const HIL_SENSOR_UPDATED_ZGYRO = 32 ; const HIL_SENSOR_UPDATED_XMAG = 64 ; const HIL_SENSOR_UPDATED_YMAG = 128 ; const HIL_SENSOR_UPDATED_ZMAG = 256 ; const HIL_SENSOR_UPDATED_ABS_PRESSURE = 512 ; const HIL_SENSOR_UPDATED_DIFF_PRESSURE = 1024 ; const HIL_SENSOR_UPDATED_PRESSURE_ALT = 2048 ; const HIL_SENSOR_UPDATED_TEMPERATURE = 4096 ; const HIL_SENSOR_UPDATED_RESET = 2147483648 ; } } im...
| ------------------------------------------------------^^^^^^^^^-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| | |
| | the trait `ardupilotmega::_::_serde::Serialize` is not implemented for `uavionix::_::InternalBitFlags`
| required by a bound introduced by this call
|
= help: the following other types implement trait `ardupilotmega::_::_serde::Serialize`:
bool
char
isize
i8
i16
i32
i64
i128
and 1515 others
note: required by a bound in `ardupilotmega::_::_serde::Serializer::serialize_newtype_struct`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/ser/mod.rs:907:21
|
901 | fn serialize_newtype_struct<T>(
| ------------------------ required by a bound in this associated function
...
907 | T: ?Sized + Serialize;
| ^^^^^^^^^ required by this bound in `Serializer::serialize_newtype_struct`
= note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/mavlink-b93a66518e12f74f/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-b93a66518e12f74f/out/ardupilotmega.rs:1:318043
|
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-b93a66518e12f74f/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-b93a66518e12f74f/out/ardupilotmega.rs:1:881538
|
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