From b8f95f42e1777d3858c74b45ba8f7a5b5a3cdca8 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Sun, 28 Jul 2019 00:50:26 +0300 Subject: Support destructuring patterns --- crates/ra_lsp_server/src/main_loop/handlers.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crates/ra_lsp_server/src/main_loop') diff --git a/crates/ra_lsp_server/src/main_loop/handlers.rs b/crates/ra_lsp_server/src/main_loop/handlers.rs index 0b4493ce2..9006aa316 100644 --- a/crates/ra_lsp_server/src/main_loop/handlers.rs +++ b/crates/ra_lsp_server/src/main_loop/handlers.rs @@ -900,6 +900,9 @@ pub fn handle_inlay_hints( ra_ide_api::InlayKind::ForExpressionBindingType => { InlayKind::ForExpressionBindingType } + ra_ide_api::InlayKind::IfExpressionType => InlayKind::IfExpressionType, + ra_ide_api::InlayKind::WhileLetExpressionType => InlayKind::WhileLetExpressionType, + ra_ide_api::InlayKind::MatchArmType => InlayKind::MatchArmType, }, }) .collect()) -- cgit v1.2.3