diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_lsp_server/src/main_loop/handlers.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crates/ra_lsp_server/src/main_loop/handlers.rs b/crates/ra_lsp_server/src/main_loop/handlers.rs index 686ee5d12..d854b0156 100644 --- a/crates/ra_lsp_server/src/main_loop/handlers.rs +++ b/crates/ra_lsp_server/src/main_loop/handlers.rs | |||
@@ -713,7 +713,11 @@ pub fn handle_code_lens( | |||
713 | label: Default::default(), | 713 | label: Default::default(), |
714 | bin: "cargo".into(), | 714 | bin: "cargo".into(), |
715 | args, | 715 | args, |
716 | env: Default::default(), | 716 | env: { |
717 | let mut m = FxHashMap::default(); | ||
718 | m.insert("RUST_BACKTRACE".to_string(), "short".to_string()); | ||
719 | m | ||
720 | }, | ||
717 | cwd: workspace_root.map(|root| root.to_string_lossy().to_string()), | 721 | cwd: workspace_root.map(|root| root.to_string_lossy().to_string()), |
718 | }; | 722 | }; |
719 | 723 | ||