ruff/crates/ruff_cli
Charlie Marsh da8a3af524
Make DisplayParseError an error type (#9325)
## Summary

This is a non-behavior-changing refactor to follow-up
https://github.com/astral-sh/ruff/pull/9321 by modifying
`DisplayParseError` to use owned data and make it useable as a
standalone error type (rather than using references and implementing
`Display`). I don't feel very strongly either way. I thought it was
awkward that the `FormatCommandError` had two branches in the display
path, and wanted to represent the `Parse` vs. other cases as a separate
enum, so here we are.
2023-12-31 15:46:29 +00:00
..
resources/test/fixtures Update ruff check and ruff format to default to the current directory (#8791) 2023-11-21 11:34:21 -06:00
src Make DisplayParseError an error type (#9325) 2023-12-31 15:46:29 +00:00
tests Add row and column numbers to formatted parse errors (#9321) 2023-12-31 07:10:45 -05:00
build.rs Add ruff version with long version display (#8034) 2023-10-20 14:07:41 -05:00
Cargo.toml Make DisplayParseError an error type (#9325) 2023-12-31 15:46:29 +00:00