Skip to content

tests: defer repo clippy lint levels to Cargo.toml#241

Closed
Wyatt Gill (wyattgill9) wants to merge 1 commit into
mainfrom
codex/fix-clippy-deny-assert
Closed

tests: defer repo clippy lint levels to Cargo.toml#241
Wyatt Gill (wyattgill9) wants to merge 1 commit into
mainfrom
codex/fix-clippy-deny-assert

Conversation

@wyattgill9
Copy link
Copy Markdown
Collaborator

Summary

Fixes the failing checks.x86_64-linux.eval assertion after #239 moved the Rust lint policy out of lib/rust.nix and into [workspace.lints] in Cargo.toml. That PR updated the parallel cargoUnitWorkspace.policy.clippy.deniedLints assertion (tests/default.nix:2978) but missed the equivalent repoPackages.minecraft-nbt.passthru.policy.clippy.deniedLints assertion, so the eval check started failing with:

error: ix-test-helpers:
  repo Rust clippy checks should deny the shared strict lint set by default

Both Nix policies now expose deniedLints = [ ] because the lint levels live in Cargo.toml. The assertion is updated to mirror the already-fixed sibling: it checks denied == [ ] and the message now reads "repo Rust clippy policy should defer default lint levels to Cargo.toml".

Validation

  • nix run .#lint

@wyattgill9 Wyatt Gill (wyattgill9) enabled auto-merge (squash) May 28, 2026 05:20
auto-merge was automatically disabled May 28, 2026 05:51

Pull request was closed

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