diff options
-rw-r--r-- | crates/rust-analyzer/src/handlers.rs | 2 |
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 { |