aboutsummaryrefslogtreecommitdiff
path: root/crates/libanalysis/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/libanalysis/src')
-rw-r--r--crates/libanalysis/src/lib.rs19
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
28use relative_path::{RelativePath,RelativePathBuf}; 28use relative_path::RelativePath;
29use once_cell::sync::OnceCell; 29use once_cell::sync::OnceCell;
30use rayon::prelude::*; 30use rayon::prelude::*;
31 31
@@ -138,23 +138,6 @@ impl WorldState {
138 } 138 }
139} 139}
140 140
141#[derive(Debug)]
142pub struct QuickFix {
143 pub fs_ops: Vec<FsOp>,
144}
145
146#[derive(Debug)]
147pub enum FsOp {
148 CreateFile {
149 anchor: FileId,
150 path: RelativePathBuf,
151 },
152 MoveFile {
153 file: FileId,
154 path: RelativePathBuf,
155 }
156}
157
158impl World { 141impl 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)?;