diff options
author | Aleksey Kladov <[email protected]> | 2019-04-13 09:02:23 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-04-13 09:03:02 +0100 |
commit | a2cc76ce63c3449d33d4a2261392e452df1d31b1 (patch) | |
tree | a158a05f4f4e0734e1e65a649f1b3bd9ad622916 /crates/ra_hir/src/ty | |
parent | 62d01dd4dfc8feb52c006b84f9d1a1a7142cc060 (diff) |
make resolver private
Diffstat (limited to 'crates/ra_hir/src/ty')
-rw-r--r-- | crates/ra_hir/src/ty/method_resolution.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/ty/method_resolution.rs b/crates/ra_hir/src/ty/method_resolution.rs index 3ac8dc46b..bb23246a6 100644 --- a/crates/ra_hir/src/ty/method_resolution.rs +++ b/crates/ra_hir/src/ty/method_resolution.rs | |||
@@ -135,7 +135,7 @@ fn def_crate(db: &impl HirDatabase, ty: &Ty) -> Option<Crate> { | |||
135 | impl Ty { | 135 | impl Ty { |
136 | /// Look up the method with the given name, returning the actual autoderefed | 136 | /// Look up the method with the given name, returning the actual autoderefed |
137 | /// receiver type (but without autoref applied yet). | 137 | /// receiver type (but without autoref applied yet). |
138 | pub fn lookup_method( | 138 | pub(crate) fn lookup_method( |
139 | self, | 139 | self, |
140 | db: &impl HirDatabase, | 140 | db: &impl HirDatabase, |
141 | name: &Name, | 141 | name: &Name, |