Skip to content

services: Name the setter case type in the HW_STATUS setter test - #884

Merged
chrysh merged 1 commit into
OpenPRoT:ocp-streaming-recoveryfrom
9elements:ocp-clippy-type-complexity
Dec 1, 2026
Merged

chrysh merged 1 commit into
OpenPRoT:ocp-streaming-recoveryfrom
9elements:ocp-clippy-type-complexity

Conversation

@chrysh

@chrysh chrysh commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

clippy::type_complexity rejects the array type of the setter cases in the test each_hw_status_setter_writes_only_its_byte in services/ocp-recovery/api/src/regs/hw_status.rs. The test is on ocp-streaming-recovery, so the clippy step fails on the branch head and in each pull request without this fix.

The test now names the tuple type of a setter case as SetterCase.

clippy::type_complexity rejects the array type of the setter cases in
each_hw_status_setter_writes_only_its_byte, so the clippy step of the
presubmit fails.

Signed-off-by: Christina Quast <christina.quast@9elements.com>
Assisted-by: Claude Fable 5.2
@chrysh
chrysh merged commit a9edb07 into OpenPRoT:ocp-streaming-recovery Dec 1, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant