diff options
author | Aleksey Kladov <[email protected]> | 2019-11-09 21:32:00 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-11-11 11:42:08 +0000 |
commit | 8b7f853cc19d0940ec542e10bc23aa78455bbb3b (patch) | |
tree | eb418bb0df37516dcf24ffc754a862ffea1ab789 /crates/ra_ide_api/src/hover.rs | |
parent | 5ac4ffbc121c8231fe3ea5c2bb918f7aae60f197 (diff) |
Add hir::Local
Diffstat (limited to 'crates/ra_ide_api/src/hover.rs')
-rw-r--r-- | crates/ra_ide_api/src/hover.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/hover.rs b/crates/ra_ide_api/src/hover.rs index cc41390b2..086e6dec3 100644 --- a/crates/ra_ide_api/src/hover.rs +++ b/crates/ra_ide_api/src/hover.rs | |||
@@ -143,7 +143,7 @@ pub(crate) fn hover(db: &RootDatabase, position: FilePosition) -> Option<RangeIn | |||
143 | }) | 143 | }) |
144 | } | 144 | } |
145 | } | 145 | } |
146 | Some(Pat(_)) | Some(SelfParam(_)) => { | 146 | Some(Local(_)) => { |
147 | // Hover for these shows type names | 147 | // Hover for these shows type names |
148 | no_fallback = true; | 148 | no_fallback = true; |
149 | } | 149 | } |