We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd5eeb9 commit 91da41bCopy full SHA for 91da41b
crates/rust-analyzer/src/handlers.rs
@@ -1022,11 +1022,12 @@ pub(crate) fn handle_code_lens_resolve(
1022
})
1023
.unwrap_or_default();
1024
1025
+ let title = reference_title(locations.len());
1026
let cmd = if locations.is_empty() {
- Command { title: "No references".into(), command: "".into(), arguments: None }
1027
+ Command { title, command: "".into(), arguments: None }
1028
} else {
1029
show_references_command(
- reference_title(locations.len()),
1030
+ title,
1031
&doc_position.text_document.uri,
1032
code_lens.range.start,
1033
locations,
0 commit comments