From 5641feeddb6a2915309580a55a946d68ae0099f2 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 19 Mar 2019 18:35:03 +0300 Subject: import resolution is immutable --- crates/ra_hir/src/nameres/collector.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates') diff --git a/crates/ra_hir/src/nameres/collector.rs b/crates/ra_hir/src/nameres/collector.rs index 12ed49a0a..3ea8d592c 100644 --- a/crates/ra_hir/src/nameres/collector.rs +++ b/crates/ra_hir/src/nameres/collector.rs @@ -124,7 +124,7 @@ where } fn resolve_import( - &mut self, + &self, module_id: CrateModuleId, import: &raw::ImportData, ) -> (PerNs, ReachedFixedPoint) { -- cgit v1.2.3