aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_analysis/src')
-rw-r--r--crates/ra_analysis/src/imp.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/crates/ra_analysis/src/imp.rs b/crates/ra_analysis/src/imp.rs
index 6e6c022d9..fb711491b 100644
--- a/crates/ra_analysis/src/imp.rs
+++ b/crates/ra_analysis/src/imp.rs
@@ -99,7 +99,6 @@ impl AnalysisHostImpl {
99 } 99 }
100 pub fn set_file_resolver(&mut self, resolver: FileResolverImp) { 100 pub fn set_file_resolver(&mut self, resolver: FileResolverImp) {
101 let data = self.data_mut(); 101 let data = self.data_mut();
102 data.file_resolver = resolver.clone();
103 data.root = Arc::new(data.root.apply_changes(&mut iter::empty(), Some(resolver))); 102 data.root = Arc::new(data.root.apply_changes(&mut iter::empty(), Some(resolver)));
104 } 103 }
105 pub fn set_crate_graph(&mut self, graph: CrateGraph) { 104 pub fn set_crate_graph(&mut self, graph: CrateGraph) {
@@ -405,7 +404,6 @@ impl AnalysisImpl {
405 404
406#[derive(Default, Clone, Debug)] 405#[derive(Default, Clone, Debug)]
407struct WorldData { 406struct WorldData {
408 file_resolver: FileResolverImp,
409 crate_graph: CrateGraph, 407 crate_graph: CrateGraph,
410 root: Arc<WritableSourceRoot>, 408 root: Arc<WritableSourceRoot>,
411 libs: Vec<Arc<ReadonlySourceRoot>>, 409 libs: Vec<Arc<ReadonlySourceRoot>>,