From 720b8ab69f7455f49ff486be60665fb1219ce082 Mon Sep 17 00:00:00 2001 From: Stephen Hunt Date: Fri, 14 Jun 2024 20:02:36 -0700 Subject: [PATCH] Update expected compiler errors in binary tests --- .../test/binary/02-port-parameters.stderr | 78 +++++++++---------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/crates/zproto/test/binary/02-port-parameters.stderr b/crates/zproto/test/binary/02-port-parameters.stderr index 1225f97d..0782d299 100644 --- a/crates/zproto/test/binary/02-port-parameters.stderr +++ b/crates/zproto/test/binary/02-port-parameters.stderr @@ -7,14 +7,14 @@ error[E0277]: the trait bound `(u8, Reset): ElicitsResponse` is not satisfied | required by a bound introduced by this call | = help: the following other types implement trait `ElicitsResponse`: - (u8, u8) - (u8, u8, D) + (u8, Activate) + (u8, Activate, D) + (u8, ConvertToAscii) + (u8, ConvertToAscii, D) + (u8, EchoData) + (u8, EchoData, D) (u8, Home) (u8, Home, D) - (u8, Renumber) - (u8, Renumber, D) - (u8, StoreCurrentPosition) - (u8, StoreCurrentPosition, D) and $N others note: required by a bound in `zproto::binary::Port::<'a, B, H>::tx_recv` --> src/binary/port.rs @@ -34,14 +34,14 @@ error[E0277]: the trait bound `Home: TakesData` is not satisfied | required by a bound introduced by this call | = help: the following other types implement trait `TakesData`: - > - > - > - > - > + > + > > - > > + > + > + > + > and $N others = note: required for `(u8, Home, i32)` to implement `TxMessage` note: required by a bound in `zproto::binary::Port::<'a, B, H>::tx_recv` @@ -62,14 +62,14 @@ error[E0277]: the trait bound `MoveAbsolute: TakesNoData` is not satisfied | required by a bound introduced by this call | = help: the following other types implement trait `TakesNoData`: - Reset + Activate Home - Stop - ReturnDeviceId - ReturnFirmwareVersion - ReturnPowerSupplyVoltage - ReturnStatus - ReturnFirmwareBuild + ReadAllDigitalInputs + ReadAllDigitalOutputs + Reset + ReturnAnalogInputCount + ReturnCalibratedEncoderCount + ReturnCalibrationError and $N others = note: required for `(u8, MoveAbsolute)` to implement `TxMessage` note: required by a bound in `zproto::binary::Port::<'a, B, H>::tx_recv` @@ -110,14 +110,14 @@ error[E0277]: the trait bound `u8: TakesNoData` is not satisfied | required by a bound introduced by this call | = help: the following other types implement trait `TakesNoData`: - Reset + Activate Home - Stop - ReturnDeviceId - ReturnFirmwareVersion - ReturnPowerSupplyVoltage - ReturnStatus - ReturnFirmwareBuild + ReadAllDigitalInputs + ReadAllDigitalOutputs + Reset + ReturnAnalogInputCount + ReturnCalibratedEncoderCount + ReturnCalibrationError and $N others = note: required for `(u8, u8)` to implement `TxMessage` note: required by a bound in `zproto::binary::Port::<'a, B, H>::tx_recv` @@ -138,14 +138,14 @@ error[E0277]: the trait bound `zproto::binary::command::types::Error: TakesNoDat | required by a bound introduced by this call | = help: the following other types implement trait `TakesNoData`: - Reset + Activate Home - Stop - ReturnDeviceId - ReturnFirmwareVersion - ReturnPowerSupplyVoltage - ReturnStatus - ReturnFirmwareBuild + ReadAllDigitalInputs + ReadAllDigitalOutputs + Reset + ReturnAnalogInputCount + ReturnCalibratedEncoderCount + ReturnCalibrationError and $N others = note: required for `(u8, zproto::binary::command::types::Error)` to implement `TxMessage` note: required by a bound in `zproto::binary::Port::<'a, B, H>::tx` @@ -163,14 +163,14 @@ error[E0277]: the trait bound `zproto::binary::command::types::Error: TakesData< | required by a bound introduced by this call | = help: the following other types implement trait `TakesData`: - > - > - > - > - > + > + > > - > > + > + > + > + > and $N others = note: required for `(u8, zproto::binary::command::types::Error, i32)` to implement `TxMessage` note: required by a bound in `zproto::binary::Port::<'a, B, H>::tx`