Fix the three clippy warnings that fail the diagnostics build #362

Open
github-bot wants to merge 1 commit from github-bot/gh-362 into main AGit
Owner

@⁠kilolimaVI on GitHub · 2026-11-26 19:01 UTC · original
kilolimaVI:fix/clippy-all-features → main · +2 −2 · 2 files · 1 commits · open

CI's "Clippy, diagnostics build" step (cargo clippy --workspace --all-targets --all-features --locked -- -D warnings) fails on main with three warnings:

  • missing_transmute_annotations x2 in crates/victory-loader/src/descriptor_sites.rs:277: annotated as transmute::<usize, F>
  • unnecessary_mut_passed in crates/victory-gpu/src/watch.rs:3626: open takes &Guards

No behaviour change. Checked on Windows 11 with the pinned toolchain (1.98.1): clippy is clean with --all-features.

AI use: written with Claude, reviewed and tested by me.

**@⁠kilolimaVI** on GitHub · 2026-11-26 19:01 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/362) `kilolimaVI:fix/clippy-all-features` → `main` · +2 −2 · 2 files · 1 commits · open CI's "Clippy, diagnostics build" step (`cargo clippy --workspace --all-targets --all-features --locked -- -D warnings`) fails on main with three warnings: - `missing_transmute_annotations` x2 in `crates/victory-loader/src/descriptor_sites.rs:277`: annotated as `transmute::<usize, F>` - `unnecessary_mut_passed` in `crates/victory-gpu/src/watch.rs:3626`: `open` takes `&Guards` No behaviour change. Checked on Windows 11 with the pinned toolchain (1.98.1): clippy is clean with --all-features. AI use: written with Claude, reviewed and tested by me.
missing_transmute_annotations in victory-loader descriptor_sites.rs and unnecessary_mut_passed in victory-gpu watch.rs: CI's 'Clippy, diagnostics build' step fails on main with -D warnings.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 19:09:54 +00:00
Author
Owner

@⁠kilolimaVI on GitHub · 2026-11-26 19:06 UTC · original

Overlaps #169 on descriptor_sites.rs. This one is against current main and also covers the watch.rs warning, so the diagnostics clippy step passes as of today.

**@⁠kilolimaVI** on GitHub · 2026-11-26 19:06 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/362#issuecomment-7201201916) Overlaps #169 on descriptor_sites.rs. This one is against current main and also covers the watch.rs warning, so the diagnostics clippy step passes as of today.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/362/head:github-bot/gh-362'
git switch 'github-bot/gh-362'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-362'
git switch 'github-bot/gh-362'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-362'
git switch 'github-bot/gh-362'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-362'
git switch 'main'
git merge --squash 'github-bot/gh-362'
git switch 'main'
git merge --ff-only 'github-bot/gh-362'
git switch 'main'
git merge 'github-bot/gh-362'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.