Clippy: main is clean again with -D warnings, with and without --all-features (3 lints) #841
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!841
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-841"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@MamaLeVrai on GitHub · 2026-11-25 10:12 UTC · original
MamaLeVrai:clippy-clean→main· +7 −6 · 4 files · 2 commits · openOn
main(0b0074e),cargo clippy --workspace --all-targets --locked -- -D warningsfails invictory-gpuon this machine (Windows 11, RX 6950 XT, Rust 1.98.1), with and without--all-features. Four lints (three of them were already there when I opened this;shadow.rsgot the fourth since), none changing behaviour:placed_filler_twins(resource.rs) is read only by the diagnostics memory report (copystat.rs, which is built with thediagnosticsfeature only), so it was dead code without that feature: it is compiled with the feature now (#[cfg(all(windows, feature = "diagnostics"))]).Rig::depth_written(indirect.rs) is kept next todepth_testedbut never read: renamed_depth_written, as the struct's other kept fields (_kept,_target_heaps) are.draw.rssorts withsort_unstable_by_key(|r| Reverse(r.1))instead ofsort_unstable_by(|a, b| b.1.cmp(&a.1)).shadow.rs(the own-view write census):n % 16384 == 0isn.is_multiple_of(16384).Checks:
cargo clippy --workspace --all-targets --locked -- -D warningsand the same with--all-features: clean.cargo test --workspace --locked: the crates beforevictory-gpupass; invictory-gputhe library's tests pass apart from the intermittent failures thatmainhas (the budget test, see #849; the crash of the test binary, see #850). The title was not run.AI-assisted (Claude Code); no game data.
🤖 Generated with Claude Code
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.