mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 21:12:57 -05:00
- all-unguarded: a count bound inside a block that has closed no longer
guards a later `.all` on a local of the same name.
- exit-status-only: a parenthesized operand is judged by its own `&&`
and `||` operands, so `status.success() && (status.success() && x)`
reads `x`.
- no-assertion: an assertion in a closure that is never called counts
for nothing: `let _ = async || { ... }`, `async move |x|`, and a
closure or async block bound to a name the test never mentions again.
- A `for` pattern shadows a passed helper only in the loop body, not in
a block expression that is the loop's source.
- A helper with a non-ASCII name counts when passed as a callback.
- Workflow variables: a `;`, `&` or `|` inside quotes does not end the
command that prints an assignment, only the pipeline that prints it
has to write `$GITHUB_ENV`, and a `#` inside a word (`build#1`) does
not start a comment in a run script or a workflow line.
- fixture-only and constant-echo: a cast to a primitive type
(`Kind::A as u8 + 1`) is not arithmetic on a user value, `>>` that
closes a turbofish (`None::<Vec<Amount>>`) is not a shift, and an
element indexed twice (`rows[0][1]`) out of a user-value array is a
user value.