aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src/main_loop/handlers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_lsp_server/src/main_loop/handlers.rs')
-rw-r--r--crates/ra_lsp_server/src/main_loop/handlers.rs9
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 c2a44ffa0..a6dc1f964 100644
--- a/crates/ra_lsp_server/src/main_loop/handlers.rs
+++ b/crates/ra_lsp_server/src/main_loop/handlers.rs
@@ -894,14 +894,7 @@ pub fn handle_inlay_hints(
894 label: api_type.label.to_string(), 894 label: api_type.label.to_string(),
895 range: api_type.range.conv_with(&line_index), 895 range: api_type.range.conv_with(&line_index),
896 kind: match api_type.kind { 896 kind: match api_type.kind {
897 ra_ide_api::InlayKind::LetBindingType => InlayKind::LetBindingType, 897 ra_ide_api::InlayKind::TypeHint => InlayKind::TypeHint,
898 ra_ide_api::InlayKind::ClosureParameterType => InlayKind::ClosureParameterType,
899 ra_ide_api::InlayKind::ForExpressionBindingType => {
900 InlayKind::ForExpressionBindingType
901 }
902 ra_ide_api::InlayKind::IfExpressionType => InlayKind::IfExpressionType,
903 ra_ide_api::InlayKind::WhileLetExpressionType => InlayKind::WhileLetExpressionType,
904 ra_ide_api::InlayKind::MatchArmType => InlayKind::MatchArmType,
905 }, 898 },
906 }) 899 })
907 .collect()) 900 .collect())