Skip to content

chore(lint): enable clippy::unimplemented - #19

Merged
tupe12334 merged 1 commit into
mainfrom
clippy/enable-unimplemented
Jul 1, 2026
Merged

tupe12334 merged 1 commit into
mainfrom
clippy/enable-unimplemented

Conversation

@tupe12334

Copy link
Copy Markdown
Member

Summary

  • Add unimplemented = "deny" to [lints.clippy] in lib/Cargo.toml, completing the existing no-panic restriction family (panic, unreachable, unwrap_used, expect_used, indexing_slicing, string_slice).

Why

unimplemented!() deliberately panics for unfinished code paths. The crate already denies the rest of this family; this closes the remaining gap so an unfinished path must return a proper error instead of crashing the installer at runtime.

Verification

  • cargo clippy --all-targets --all-features — clean, no new violations (no unimplemented!() call sites exist in the codebase).
  • cargo build --all-targets — passes.
  • cargo test — 67 passed, 0 failed.

Closes #18


This pull request was opened by the Clippy lint improvements → issue + PR (Rust repos) → Slack routine of moadim.

@tupe12334
tupe12334 merged commit 753a916 into main Jul 1, 2026
2 checks passed
@tupe12334
tupe12334 deleted the clippy/enable-unimplemented branch July 1, 2026 01:12
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.

Enable clippy::unimplemented lint

1 participant