From 5641feeddb6a2915309580a55a946d68ae0099f2 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 19 Mar 2019 18:35:03 +0300 Subject: [PATCH] import resolution is immutable --- crates/ra_hir/src/nameres/collector.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ra_hir/src/nameres/collector.rs b/crates/ra_hir/src/nameres/collector.rs index 12ed49a0a5..3ea8d592c6 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) {