322. Seven newcomer spelling lints, L0540-L0546 (2026-11-22)
manual_bit_test, sort_desc_by_negation, last_via_len, manual_pair_loop, manual_digit_loop, hand_rolled_pow and hand_rolled_gcd (crates/cpl-lint/src/rules/spelled.rs) teach the CPL name for a C++ spelling the corpus/newcomer/ set marks. All are idiom, warn. The bit test and the last-element read carry a fix and keep their finding only where the checker types the place as an Int or a list (typed.rs); the others only teach, since the rewrite replaces a loop or a function. The pair loop fires only when the body reads one sequence at the two indices and uses them for nothing else. They match sort, sorted, len, pow_mod-shaped and gcd-shaped code by name, so lint_std_names goes from 141 to 146. Their spec/std findings (34, 1, 62, 6, 2) are real spellings, not false positives, and enter the shrink-only baseline. The same baseline also takes L0204 13 -> 16, L0206 3 -> 7, L0210 72 -> 74 and L0509 6 -> 8 from recent stdlib commits. L0521's running-total shape (run += x; out.push(run), ps.push(ps.last! + x)) matches push, last and len by name, so lint_std_names goes from 146 to 149; it only teaches, with no fix. Reverse: delete the records and rules/spelled.rs, drop the arms in typed.rs, and restore corpus_warnings.txt.