Skip to content

PR 7: Clippy 1.94/1.95 ratchets #191

Description

@EffortlessSteven

Summary

Activate 7 new Clippy lints (1.94/1.95 ratchets) to catch low-volume patterns across the workspace.

Investigation

Workspace Clippy-clean against current policy. Pre-measured hit counts across full workspace via cargo clippy --workspace --all-targets --all-features --locked:

Lint Hits Verdict
clippy::same_length_and_capacity 17 activate → warn
clippy::manual_ilog2 17 activate → warn
clippy::decimal_bitwise_operands 17 activate → warn
clippy::needless_type_cast 17 activate → warn
clippy::manual_checked_ops 17 activate → warn
clippy::manual_take 17 activate → warn
clippy::manual_pop_if 17 activate → warn
clippy::duration_suboptimal_units 223 defer — record in #179 debt ledger
clippy::unnecessary_trailing_comma 17 defer — style-only follow-up

Plan

  1. Activate 7 low-volume lints to warn in [workspace.lints.clippy]
  2. Defer duration_suboptimal_units — high-volume burn-down belongs in PR 5's debt ledger (PR 5: Clippy policy ledgers infrastructure #179)
  3. Defer unnecessary_trailing_comma — style-only, separate follow-up
  4. disallowed_fields stays off, no protected seams yet (see docs/CLIPPY_POLICY.md:42)

Acceptance

cargo clippy --workspace --all-targets --all-features --locked -- -D warnings exits clean

Dependencies


Filed by planning agent during 0.4.0 rollout sequencing, 2026-05-11.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions