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 | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/crates/ide/src/inlay_hints/bind_pat.rs b/crates/ide/src/inlay_hints/bind_pat.rs index 57b723cbd8..8af78532f3 100644 --- a/crates/ide/src/inlay_hints/bind_pat.rs +++ b/crates/ide/src/inlay_hints/bind_pat.rs @@ -433,7 +433,7 @@ fn f<'a>() { let y = S::<'_>(loop {}); //^ S<'_> let z = S::<'a>(loop {}); - //^ S<'a> + //^ S<'_> } "#, @@ -1446,22 +1446,7 @@ fn f<'a>() { ), tooltip: "", }, - "<", - InlayHintLabelPart { - text: "'a", - linked_location: Some( - Computed( - FileRangeWrapper { - file_id: FileId( - 0, - ), - range: 35..37, - }, - ), - ), - tooltip: "", - }, - ">", + "<'_>", ], ), ] |