You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: unbreak rust-ci Test job (clippy 1.95 + missing fields)
`cargo clippy --all-targets --all-features -- -D warnings` and
`cargo test` were both red on main:
* clippy 1.95.0 surfaced new lints across lib/tests/bench:
unnecessary_map_or, manual_range_contains, unnecessary_sort_by,
needless_range_loop, type_complexity, new_without_default,
redundant_closure, redundant_pattern_matching, useless_vec,
len_zero, const_is_empty, format_in_format_args.
* `criterion::black_box` is deprecated in favour of `std::hint::black_box`.
* `tests/panll_tests.rs` + `tests/report_tests.rs` constructed
`CrashReport` without the (non-default) `schema_version` field that
was added in v2.5; `benches/scan_bench.rs` constructed
`ProgramStatistics` without `safe_unwrap_calls`.
All edits are semantic identities: sort_by → sort_by_key + Reverse,
needless range-loop → enumerate-over-iter, fn-pointer column →
type alias, MitigationRegistry::new() → Default impl forwarding,
`(200..300).contains(&status)` for HTTP status check, `is_some_and`
in place of `map_or(false, ...)`, etc.
The `tests/seam_contract_tests.rs` fmt collapses on lines 433/490
overlap with PR #36 (same fix) — second to land will be a no-op.
Estate guardrail: no Python, no PMPL-1.0, signed commit, MSRV-safe
identities only (no new API surface, no feature changes).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments