mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
Provide resolve data only when it can actually be resolved
This commit is contained in:
parent
caf018507a
commit
7b3dba5d77
13 changed files with 82 additions and 35 deletions
|
@ -57,6 +57,7 @@ pub(super) fn hints(
|
|||
let label =
|
||||
InlayHintLabel::simple(format!("{param_name}{colon}"), None, linked_location);
|
||||
InlayHint {
|
||||
needs_resolve: label.needs_resolve(),
|
||||
range,
|
||||
kind: InlayKind::Parameter,
|
||||
label,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue