diff options
Diffstat (limited to 'crates/ra_lsp_server/src/main_loop')
-rw-r--r-- | crates/ra_lsp_server/src/main_loop/handlers.rs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/crates/ra_lsp_server/src/main_loop/handlers.rs b/crates/ra_lsp_server/src/main_loop/handlers.rs index 005ce08b3..686ee5d12 100644 --- a/crates/ra_lsp_server/src/main_loop/handlers.rs +++ b/crates/ra_lsp_server/src/main_loop/handlers.rs | |||
@@ -885,14 +885,7 @@ pub fn handle_inlay_hints( | |||
885 | label: api_type.label.to_string(), | 885 | label: api_type.label.to_string(), |
886 | range: api_type.range.conv_with(&line_index), | 886 | range: api_type.range.conv_with(&line_index), |
887 | kind: match api_type.kind { | 887 | kind: match api_type.kind { |
888 | ra_ide_api::InlayKind::LetBindingType => InlayKind::LetBindingType, | 888 | ra_ide_api::InlayKind::TypeHint => InlayKind::TypeHint, |
889 | ra_ide_api::InlayKind::ClosureParameterType => InlayKind::ClosureParameterType, | ||
890 | ra_ide_api::InlayKind::ForExpressionBindingType => { | ||
891 | InlayKind::ForExpressionBindingType | ||
892 | } | ||
893 | ra_ide_api::InlayKind::IfExpressionType => InlayKind::IfExpressionType, | ||
894 | ra_ide_api::InlayKind::WhileLetExpressionType => InlayKind::WhileLetExpressionType, | ||
895 | ra_ide_api::InlayKind::MatchArmType => InlayKind::MatchArmType, | ||
896 | }, | 889 | }, |
897 | }) | 890 | }) |
898 | .collect()) | 891 | .collect()) |