chore(shader): move the gfx10 test module to the end of fields.rs #419
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem!419
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-419"
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?
@Luxuride on GitHub · 2026-12-04 01:46 UTC · original
Luxuride:chore/shader-test-module-last→main· +54 −53 · 1 files · 1 commits · merged 2026-12-04 03:41 UTCWhat
crates/victory-shader/src/gfx10/fields.rshas#[cfg(test)] mod wrap_addtid_testsin the middle of the file (line 771), with production code after it (data_dwords,image_addr_dwords, to the end of the file). The file therefore tripsclippy::items_after_test_module:Pure move: the test module is cut from the middle and re-appended after the file's last item. Nothing inside it changes, and the module's
use super::*;works from either position.Validation
mainerror: items after a test module→could not compile victory-shader (lib test)Overlap check
crates/victory-shader/src/gfx10/fields.rsappears in no open PR's file list, and no issue mentions this module.