diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-03-19 15:35:32 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-03-19 15:35:32 +0000 |
commit | d080c8f02105bc52f069785ae3e843a6606560e1 (patch) | |
tree | da631de6c134201a08328603b50d44c8ff9a9125 /crates/ra_hir | |
parent | 5b6ad0971c050981deb10c56ad2634293f104228 (diff) | |
parent | 5641feeddb6a2915309580a55a946d68ae0099f2 (diff) |
Merge #998
998: import resolution is immutable r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_hir')
-rw-r--r-- | crates/ra_hir/src/nameres/collector.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
124 | } | 124 | } |
125 | 125 | ||
126 | fn resolve_import( | 126 | fn resolve_import( |
127 | &mut self, | 127 | &self, |
128 | module_id: CrateModuleId, | 128 | module_id: CrateModuleId, |
129 | import: &raw::ImportData, | 129 | import: &raw::ImportData, |
130 | ) -> (PerNs<ModuleDef>, ReachedFixedPoint) { | 130 | ) -> (PerNs<ModuleDef>, ReachedFixedPoint) { |