diff options
Diffstat (limited to 'crates/libanalysis/src/lib.rs')
-rw-r--r-- | crates/libanalysis/src/lib.rs | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/crates/libanalysis/src/lib.rs b/crates/libanalysis/src/lib.rs index 3f54a7f0d..ef749787a 100644 --- a/crates/libanalysis/src/lib.rs +++ b/crates/libanalysis/src/lib.rs | |||
@@ -25,7 +25,7 @@ use std::{ | |||
25 | time::Instant, | 25 | time::Instant, |
26 | }; | 26 | }; |
27 | 27 | ||
28 | use relative_path::{RelativePath,RelativePathBuf}; | 28 | use relative_path::RelativePath; |
29 | use once_cell::sync::OnceCell; | 29 | use once_cell::sync::OnceCell; |
30 | use rayon::prelude::*; | 30 | use rayon::prelude::*; |
31 | 31 | ||
@@ -138,23 +138,6 @@ impl WorldState { | |||
138 | } | 138 | } |
139 | } | 139 | } |
140 | 140 | ||
141 | #[derive(Debug)] | ||
142 | pub struct QuickFix { | ||
143 | pub fs_ops: Vec<FsOp>, | ||
144 | } | ||
145 | |||
146 | #[derive(Debug)] | ||
147 | pub enum FsOp { | ||
148 | CreateFile { | ||
149 | anchor: FileId, | ||
150 | path: RelativePathBuf, | ||
151 | }, | ||
152 | MoveFile { | ||
153 | file: FileId, | ||
154 | path: RelativePathBuf, | ||
155 | } | ||
156 | } | ||
157 | |||
158 | impl World { | 141 | impl World { |
159 | pub fn file_syntax(&self, file_id: FileId) -> Result<File> { | 142 | pub fn file_syntax(&self, file_id: FileId) -> Result<File> { |
160 | let data = self.file_data(file_id)?; | 143 | let data = self.file_data(file_id)?; |