ruff/fuzz/fuzz_targets
Dhruv Manilawala 72b6c26101 Simplify LinterResult, avoid cloning ParseError (#11903)
## 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`
2024-06-27 13:44:11 +02:00
..
ruff_fix_validity.rs Introduce LinterSettings 2023-09-20 17:02:34 +02:00
ruff_formatter_idempotency.rs Add a idempotent fuzz_target for ruff_python_formatter (#9448) 2024-01-11 08:55:59 +01:00
ruff_formatter_validity.rs Simplify LinterResult, avoid cloning ParseError (#11903) 2024-06-27 13:44:11 +02:00
ruff_parse_idempotency.rs Remove source path from parser errors (#9322) 2023-12-30 20:33:05 +00:00
ruff_parse_simple.rs Maintain synchronicity between the lexer and the parser (#11457) 2024-06-03 18:23:50 +05:30