From 8c88900fa9ecc71fdd58254d3f29b66912a56bd4 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 15 Oct 2018 22:01:50 +0300 Subject: remove resolver from world --- crates/ra_analysis/src/imp.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'crates/ra_analysis') 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 { } pub fn set_file_resolver(&mut self, resolver: FileResolverImp) { let data = self.data_mut(); - data.file_resolver = resolver.clone(); data.root = Arc::new(data.root.apply_changes(&mut iter::empty(), Some(resolver))); } pub fn set_crate_graph(&mut self, graph: CrateGraph) { @@ -405,7 +404,6 @@ impl AnalysisImpl { #[derive(Default, Clone, Debug)] struct WorldData { - file_resolver: FileResolverImp, crate_graph: CrateGraph, root: Arc, libs: Vec>, -- cgit v1.2.3