aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorAleksei Trifonov <[email protected]>2020-08-02 11:53:34 +0100
committerAleksei Trifonov <[email protected]>2020-08-02 11:53:34 +0100
commit85d5ed367579fb9e868517be0f0df636f6277363 (patch)
tree36dd6d83b87267a782547fc1ba4bdd598a1644c7 /crates
parente4d0f19b01e5ba5007073f126b7eb0276c79024f (diff)
Fix test code lens
Diffstat (limited to 'crates')
-rw-r--r--crates/rust-analyzer/src/handlers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/handlers.rs b/crates/rust-analyzer/src/handlers.rs
index e73b3a211..6994e611b 100644
--- a/crates/rust-analyzer/src/handlers.rs
+++ b/crates/rust-analyzer/src/handlers.rs
@@ -896,7 +896,7 @@ pub(crate) fn handle_code_lens(
896 } 896 }
897 897
898 let action = runnable.action(); 898 let action = runnable.action();
899 let range = to_proto::range(&line_index, runnable.nav.focus_or_full_range()); 899 let range = to_proto::range(&line_index, runnable.nav.full_range);
900 let r = to_proto::runnable(&snap, file_id, runnable)?; 900 let r = to_proto::runnable(&snap, file_id, runnable)?;
901 if snap.config.lens.run { 901 if snap.config.lens.run {
902 let lens = CodeLens { 902 let lens = CodeLens {