diff options
author | Aleksey Kladov <[email protected]> | 2018-10-15 20:01:50 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-10-15 20:01:50 +0100 |
commit | 8c88900fa9ecc71fdd58254d3f29b66912a56bd4 (patch) | |
tree | 2e34626a18eeea979a3e9965c3c3d877cfe6d886 /crates/ra_analysis | |
parent | ee69fddf02b2c8d4b73f9412831f5fcc4fa931a1 (diff) |
remove resolver from world
Diffstat (limited to 'crates/ra_analysis')
-rw-r--r-- | crates/ra_analysis/src/imp.rs | 2 |
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)] |
407 | struct WorldData { | 406 | struct 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>>, |