Fix the three clippy warnings that fail the diagnostics build #362
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/362"
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 avatarmanz/VIctory-7900XTX. Originally posted by kilolimaVI on 2026-11-26T19:01:43Z.
CI's "Clippy, diagnostics build" step (
cargo clippy --workspace --all-targets --all-features --locked -- -D warnings) fails on main with three warnings:missing_transmute_annotationsx2 incrates/victory-loader/src/descriptor_sites.rs:277: annotated astransmute::<usize, F>unnecessary_mut_passedincrates/victory-gpu/src/watch.rs:3626:opentakes&GuardsNo 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.
Imported from avatarmanz/VIctory-7900XTX. Originally posted by kilolimaVI on 2026-11-26T19:06:26Z.
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.
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.