Clippy: main is clean again with -D warnings, with and without --all-features (3 lints) #840
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from fxceless/victory-fork. Originally posted by MamaLeVrai on 2026-11-25T10:12:21Z.
On
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
Imported from fxceless/victory-fork. Originally posted by copilot-pull-request-reviewer[bot] on 2026-11-25T10:12:35Z.
Review: COMMENTED
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.