Skip to content

Commit 85d5ed3

Browse files
committed
Fix test code lens
1 parent e4d0f19 commit 85d5ed3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/rust-analyzer/src/handlers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ pub(crate) fn handle_code_lens(
896896
}
897897

898898
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);
900900
let r = to_proto::runnable(&snap, file_id, runnable)?;
901901
if snap.config.lens.run {
902902
let lens = CodeLens {

0 commit comments

Comments
 (0)