mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 22:01:47 +00:00
![]() ## Summary Follow-up to #11902 This PR simplifies the `LinterResult` struct by avoiding the generic and not store the `ParseError`. This is possible because the callers already have access to the `ParseError` via the `Parsed` output. This also means that we can simplify the return type of `check_path` and avoid the generic `T` on `LinterResult`. ## Test Plan `cargo insta test` |
||
---|---|---|
.. | ||
ruff_fix_validity.rs | ||
ruff_formatter_idempotency.rs | ||
ruff_formatter_validity.rs | ||
ruff_parse_idempotency.rs | ||
ruff_parse_simple.rs |