Commit e6787f5
authored
fix: mark ORDER_HIGH_TO_LOW as test-only to fix dead_code error (#5675)
The Rust guard constant `ORDER_HIGH_TO_LOW` is only used in the test
module but was declared unconditionally, causing a `dead_code` error
with `-D warnings` in release builds (CI docker job failure).
Fix: annotate with `#[cfg(test)]` so it's only compiled in test builds.
Fixes the docker job failure in:
https://github.com/github/gh-aw-mcpg/actions/runs/25843873997/job/759351585601 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
0 commit comments