Skip to content

Commit

Permalink
Merge #11720
Browse files Browse the repository at this point in the history
11720: fix: Mark chaining hints as types r=SomeoneToIgnore a=lnicola

CC #11445 (comment)

Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
  • Loading branch information
bors[bot] and lnicola authored Mar 16, 2022
2 parents fb9e66d + 620411d commit 9f2b4ef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/rust-analyzer/src/to_proto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -432,8 +432,7 @@ pub(crate) fn inlay_hint(
},
kind: match inlay_hint.kind {
InlayKind::ParameterHint => Some(lsp_ext::InlayHintKind::PARAMETER),
InlayKind::TypeHint => Some(lsp_ext::InlayHintKind::TYPE),
InlayKind::ChainingHint => None,
InlayKind::TypeHint | InlayKind::ChainingHint => Some(lsp_ext::InlayHintKind::TYPE),
},
tooltip: None,
padding_left: Some(match inlay_hint.kind {
Expand Down

0 comments on commit 9f2b4ef

Please sign in to comment.