Files
vectorcraft/xtask
dotCooCoo 2e1b575fdc xtask: test-lint census rule reads loop labels, radix bounds and closure names
Follow-up to #10585. The census rule now:

- treats a labeled `for` (`'inner: for _ in 0..0`) like an unlabeled one
  when deciding whether its body runs;
- reads hex, octal and binary range bounds (`0x0..0x1`) and borrowed or
  parenthesized array literals (`&[1]`, `(&[1])`) as loop sources;
- does not count a path call (`other::run()`) as a call to a local closure;
- counts an async closure's future as run by `block_on` only when it is
  the whole argument of `block_on` itself, not of `discard_block_on` or of
  a longer expression, and allows a space before the parenthesis;
- finds the `let` keyword without splitting a name such as `inlet_fn`;
- accepts a trailing comma after a closure stored in `Some(…)`.
2026-12-02 11:09:12 -08:00
..