mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 05:38:46 +00:00
Merge #11720
11720: fix: Mark chaining hints as types r=SomeoneToIgnore a=lnicola CC https://github.com/rust-analyzer/rust-analyzer/pull/11445#discussion_r826863321 Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
This commit is contained in:
commit
9f2b4ef0f4
1 changed files with 1 additions and 2 deletions
|
@ -432,8 +432,7 @@ pub(crate) fn inlay_hint(
|
||||||
},
|
},
|
||||||
kind: match inlay_hint.kind {
|
kind: match inlay_hint.kind {
|
||||||
InlayKind::ParameterHint => Some(lsp_ext::InlayHintKind::PARAMETER),
|
InlayKind::ParameterHint => Some(lsp_ext::InlayHintKind::PARAMETER),
|
||||||
InlayKind::TypeHint => Some(lsp_ext::InlayHintKind::TYPE),
|
InlayKind::TypeHint | InlayKind::ChainingHint => Some(lsp_ext::InlayHintKind::TYPE),
|
||||||
InlayKind::ChainingHint => None,
|
|
||||||
},
|
},
|
||||||
tooltip: None,
|
tooltip: None,
|
||||||
padding_left: Some(match inlay_hint.kind {
|
padding_left: Some(match inlay_hint.kind {
|
||||||
|
|
Loading…
Reference in a new issue