diff options
author | Kirill Bulatov <[email protected]> | 2020-07-27 13:53:57 +0100 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2020-08-11 13:09:08 +0100 |
commit | 26e102a567aadcf86f2e5b575cb6b915991ba088 (patch) | |
tree | 2075de8433e6f99ee79849724cb402cf232d8426 /crates/ra_ide/src/lib.rs | |
parent | e0de2475208765a171f335dfffde764f96243d41 (diff) |
Separate diagnostics and diagnostics fix ranges
Diffstat (limited to 'crates/ra_ide/src/lib.rs')
-rw-r--r-- | crates/ra_ide/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide/src/lib.rs b/crates/ra_ide/src/lib.rs index 0fede0d87..45a4b2421 100644 --- a/crates/ra_ide/src/lib.rs +++ b/crates/ra_ide/src/lib.rs | |||
@@ -105,7 +105,7 @@ pub struct Diagnostic { | |||
105 | pub message: String, | 105 | pub message: String, |
106 | pub range: TextRange, | 106 | pub range: TextRange, |
107 | pub severity: Severity, | 107 | pub severity: Severity, |
108 | pub fix: Option<Fix>, | 108 | pub fix: Option<(Fix, TextRange)>, |
109 | } | 109 | } |
110 | 110 | ||
111 | #[derive(Debug)] | 111 | #[derive(Debug)] |