clippy: the five main-gate findings the 4634 anti-aliased menu/panel merge left #5074
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!5074
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-5073"
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?
@xCapD on GitHub · 2026-12-01 18:57 UTC · original
xCapD:clippy-ui-4634-fixes→main· +13 −9 · 3 files · 1 commits · openWhat it changes
Main's clippy gate is red at
5fabb46: five findings, all new since PR #4635(the anti-aliased F1 menu and slim F3 panel,
3bde4923):text()— too_many_arguments (9/7)text_right()— too_many_arguments (9/7)Each fix is the form clippy itself prescribes:
too_many_argumentsisallowed with a one-line
shortcut:comment on the two GDI helpers (theexisting in-tree style; no call-site churn),
% == 0becomes.is_multiple_offor the compile-time constant divisor, and the two nestedifblocks collapse into&& letchains (edition 2024). No runtimebehavior changes.
This is the same change as #4680 and #4708, opened earlier today. What this
request adds over them, stated exactly: their branches share no merge base
with main — both are listed CONFLICTING, their forks predating the
2026-11-26 base change — so neither can be merged as pushed. This branch is
a single commit directly on top of current main and merges cleanly. Happy
to close it the moment either of them lands mergeable; the only purpose
here is that the gate unblocks with a branch that can actually merge.
How it was tested
no runtime effect; the surfaces touched are the F1 menu and the F3 panel.
5fabb46,cargo clippy --workspace --all-targets --locked -- -D warningsfails with the five findings above, so every pull requestbased on current main fails CI at gate 1.
--all-targets, and--all-targets --all-features,-D warningseverywhere), andcargo test --workspace --lockedpasses for the whole workspace, the464-file policy test (
repository_passes_policy) included, with onetest skipped:
modules::xmem::tests::a_read_by_range_waits_only_for_a_remapping_that_meets_it.That test is the parallel-run interference flake of #2420 (fix open in
#2439): it failed 3 of 3 full parallel runs on pristine main with this
change stashed and 3 of 3 with it applied, passing whenever run alone.
Unrelated to this change.
cargo testpassed for the crates it touches: yes — all of them.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.