aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 067259e24..895af1dd7 100644
--- a/crates/rust-analyzer/src/handlers.rs
+++ b/crates/rust-analyzer/src/handlers.rs
@@ -892,7 +892,7 @@ pub(crate) fn handle_code_lens(
892 } 892 }
893 893
894 let action = runnable.action(); 894 let action = runnable.action();
895 let range = to_proto::range(&line_index, runnable.nav.focus_or_full_range()); 895 let range = to_proto::range(&line_index, runnable.nav.full_range);
896 let r = to_proto::runnable(&snap, file_id, runnable)?; 896 let r = to_proto::runnable(&snap, file_id, runnable)?;
897 if snap.config.lens.run { 897 if snap.config.lens.run {
898 let lens = CodeLens { 898 let lens = CodeLens {