mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 22:01:18 +00:00
[ty] Implement diagnostic caching (#19605)
This commit is contained in:
parent
4ecf1d205a
commit
2a5ace6e55
15 changed files with 1322 additions and 100 deletions
|
@ -43,7 +43,7 @@ pub enum IsolationLevel {
|
|||
}
|
||||
|
||||
/// A collection of [`Edit`] elements to be applied to a source file.
|
||||
#[derive(Debug, PartialEq, Eq, Clone, get_size2::GetSize)]
|
||||
#[derive(Debug, PartialEq, Eq, Clone, Hash, get_size2::GetSize)]
|
||||
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
||||
pub struct Fix {
|
||||
/// The [`Edit`] elements to be applied, sorted by [`Edit::start`] in ascending order.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue