Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide/src/inlay_hints/bind_pat.rs')
| -rw-r--r-- | crates/ide/src/inlay_hints/bind_pat.rs | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/crates/ide/src/inlay_hints/bind_pat.rs b/crates/ide/src/inlay_hints/bind_pat.rs index 5227c651ff..9c9e3c4bda 100644 --- a/crates/ide/src/inlay_hints/bind_pat.rs +++ b/crates/ide/src/inlay_hints/bind_pat.rs @@ -318,7 +318,33 @@ fn main(a: SliceIter<'_, Container>) { range: 484..554, kind: Chaining, label: [ - "impl Iterator<Item = impl Iterator<Item = &&str>>", + "impl ", + InlayHintLabelPart { + text: "Iterator", + linked_location: Some( + FileRange { + file_id: FileId( + 1, + ), + range: 2248..2256, + }, + ), + tooltip: "", + }, + "<Item = impl ", + InlayHintLabelPart { + text: "Iterator", + linked_location: Some( + FileRange { + file_id: FileId( + 1, + ), + range: 2248..2256, + }, + ), + tooltip: "", + }, + "<Item = &&str>>", ], }, InlayHint { |