Silence pre-existing clippy warnings so CI passes #5063
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!5063
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-5062"
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?
@t91a60 on GitHub · 2026-12-01 18:45 UTC · original
t91a60:fix/ci-clippy-green→main· +11 −9 · 3 files · 1 commits · open[pr-fix] Short description: silence pre-existing clippy warnings so CI passes
Fixes #
What it changes
Pre-existing clippy failures under
-D warningsblocked CI on almost every PR/push. This PR fixes the ones found on a clean build of main:crates/victory-gpu/src/host/font.rs:too_many_argumentsontextandtext_right(9 args each). Added#[allow(clippy::too_many_arguments)]; grouping into a struct would be a larger refactor out of scope.crates/victory-gpu/src/host/menu.rs:manual_is_multiple_ofat the repeat-key check; replaced% REPEAT_EVERY == 0with.is_multiple_of(REPEAT_EVERY).crates/victory-gpu/src/host/panel.rs: twocollapsible_ifsites in the stats/notice render paths; collapsed nestedifinto a singleif ... && let Some(...).No gameplay, settings, or performance paths changed.
How it was tested
cargo clippy --workspace --all-targets --locked -- -D warnings-> exit 0 (clean target dir)cargo clippy --workspace --all-targets --all-features --locked -- -D warnings-> exit 0 (clean target dir)cargo test --workspace --locked-> 1233-ish tests pass; one pre-existing flaky test (a_read_by_range_waits_only_for_a_remapping_that_meets_it) failed intermittently under parallel load and is unrelated to these changes.Checked for overlap
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.