From 1037242e6e9a1075daba222884203cac5a638f17 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Tue, 16 Jul 2019 14:22:44 +0300 Subject: Add "Run" lens for binary runnables --- crates/ra_lsp_server/src/main_loop/handlers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_lsp_server/src') diff --git a/crates/ra_lsp_server/src/main_loop/handlers.rs b/crates/ra_lsp_server/src/main_loop/handlers.rs index ab9ed5080..68865b755 100644 --- a/crates/ra_lsp_server/src/main_loop/handlers.rs +++ b/crates/ra_lsp_server/src/main_loop/handlers.rs @@ -695,7 +695,7 @@ pub fn handle_code_lens( let title = match &runnable.kind { RunnableKind::Test { .. } | RunnableKind::TestMod { .. } => Some("▶️Run Test"), RunnableKind::Bench { .. } => Some("Run Bench"), - _ => None, + RunnableKind::Bin => Some("️Run"), }; if let Some(title) = title { -- cgit v1.2.3