Skip to content

Commit 9f2b4ef

Browse files
bors[bot]lnicola
andauthored
11720: fix: Mark chaining hints as types r=SomeoneToIgnore a=lnicola CC rust-lang/rust-analyzer#11445 (comment) Co-authored-by: Laurențiu Nicola <[email protected]>
2 parents fb9e66d + 620411d commit 9f2b4ef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crates/rust-analyzer/src/to_proto.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,8 +432,7 @@ pub(crate) fn inlay_hint(
432432
},
433433
kind: match inlay_hint.kind {
434434
InlayKind::ParameterHint => Some(lsp_ext::InlayHintKind::PARAMETER),
435-
InlayKind::TypeHint => Some(lsp_ext::InlayHintKind::TYPE),
436-
InlayKind::ChainingHint => None,
435+
InlayKind::TypeHint | InlayKind::ChainingHint => Some(lsp_ext::InlayHintKind::TYPE),
437436
},
438437
tooltip: None,
439438
padding_left: Some(match inlay_hint.kind {

0 commit comments

Comments
 (0)