Files
vectorcraft/xtask
dotCooCoo d632bd0761 xtask: test-lint reads redirects, grouped calls, casts and dropped futures exactly
- A workflow line sets a variable only when `$GITHUB_ENV` is the target of an
  unquoted `>`, `>>` or `>|` redirect or of a file-writing command (`tee`,
  `Out-File`, `Add-Content`); a printed word `GITHUB_ENV` does not count.
- `split_args` tracks generic argument lists per delimiter depth, so a shift
  inside a const argument (`N::<{1 << 2}>`) no longer hides the next comma.
- `norm_values` finds `as` at a word boundary, so `(Kind::A) as u8` is a
  primitive value.
- A grouped argument (`reset((xs))`) passes a mutable reference on, and
  `(xs).len()` still only reads it.
- An async closure whose futures are only made and dropped (`run();`,
  `let _future = run();`) runs no assertion.
- A numeric index guards an `.all` assertion only until code before that
  assertion may shrink the indexed local.
- A pinned snapshot compares its selector locals from the initializer as
  written, so `i` in `r.items(i as usize)` is checked for changes.
- A saved count guards only when its collection is known; grouping
  parentheses (`(xs.len())`) still name it.
- A `for` loop over `if … { … } else { … }` or `match` finds its body after
  the iterator's own blocks.
2026-12-03 11:21:08 -08:00
..