mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-06 04:08:40 +00:00
Mark chaining hints as types, since that's what they are
This commit is contained in:
parent
fb9e66d9fc
commit
620411df80
@ -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 New Issue
Block a user