File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1075,7 +1075,7 @@ pub(crate) fn handle_inlay_hints(
1075
1075
. analysis
1076
1076
. inlay_hints ( file_id, & snap. config . inlay_hints ) ?
1077
1077
. into_iter ( )
1078
- . map ( |it| to_proto:: inlay_int ( & line_index, it) )
1078
+ . map ( |it| to_proto:: inlay_hint ( & line_index, it) )
1079
1079
. collect ( ) )
1080
1080
}
1081
1081
Original file line number Diff line number Diff line change @@ -294,7 +294,7 @@ pub(crate) fn signature_help(
294
294
}
295
295
}
296
296
297
- pub ( crate ) fn inlay_int ( line_index : & LineIndex , inlay_hint : InlayHint ) -> lsp_ext:: InlayHint {
297
+ pub ( crate ) fn inlay_hint ( line_index : & LineIndex , inlay_hint : InlayHint ) -> lsp_ext:: InlayHint {
298
298
lsp_ext:: InlayHint {
299
299
label : inlay_hint. label . to_string ( ) ,
300
300
range : range ( line_index, inlay_hint. range ) ,
Original file line number Diff line number Diff line change 1
1
/**
2
- * This file mirrors `crates/rust-analyzer/src/req .rs` declarations.
2
+ * This file mirrors `crates/rust-analyzer/src/lsp_ext .rs` declarations.
3
3
*/
4
4
5
5
import * as lc from "vscode-languageclient" ;
You can’t perform that action at this time.
0 commit comments