Micha Reiser
76c47a9a43
Cheap cloneable LineIndex ( #3896 )
2023-04-11 07:33:40 +00:00
Micha Reiser
9209e57c5a
Extract message emitters from Printer ( #3895 )
2023-04-11 07:24:25 +00:00
Micha Reiser
595cd065f3
Reduce explcit clones ( #3793 )
2023-03-29 15:15:14 +02:00
Charlie Marsh
e603382cf0
Allow diagnostics to generate multi-edit fixes ( #3709 )
2023-03-26 16:45:19 -04:00
Charlie Marsh
a66481ed28
Rename setter methods on Diagnostic
( #3738 )
2023-03-26 10:28:30 -04:00
Charlie Marsh
2083134a96
Rename Fix
to Edit
( #3702 )
2023-03-24 19:29:14 -04:00
Jonathan Plasse
dc4d7619ee
Add Diagnostic.try_amend()
to simplify error handling ( #3701 )
2023-03-24 17:10:11 -04:00
Jonathan Plasse
fd39ec4bdd
Merge Availability and AutofixKind ( #3629 )
2023-03-20 16:45:33 +00:00
Charlie Marsh
024caca233
Introduce a ruff_diagnostics
crate ( #3409 )
...
## Summary
This PR moves `Diagnostic`, `DiagnosticKind`, and `Fix` into their own crate, which will enable us to further split up Ruff, since sub-linter crates (which need to implement functions that return `Diagnostic`) can now depend on `ruff_diagnostics` rather than Ruff.
2023-03-09 20:48:57 +00:00