Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 58a2411

Browse files
committed
Update test output
1 parent 0c488fa commit 58a2411

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

crates/ide/src/inlay_hints.rs

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2012,11 +2012,21 @@ fn main() {
20122012
range: 147..172,
20132013
kind: ChainingHint,
20142014
label: "B",
2015+
hover_trigger: Some(
2016+
Range(
2017+
147..172,
2018+
),
2019+
),
20152020
},
20162021
InlayHint {
20172022
range: 147..154,
20182023
kind: ChainingHint,
20192024
label: "A",
2025+
hover_trigger: Some(
2026+
Range(
2027+
147..154,
2028+
),
2029+
),
20202030
},
20212031
]
20222032
"#]],
@@ -2067,11 +2077,21 @@ fn main() {
20672077
range: 143..190,
20682078
kind: ChainingHint,
20692079
label: "C",
2080+
hover_trigger: Some(
2081+
Range(
2082+
143..190,
2083+
),
2084+
),
20702085
},
20712086
InlayHint {
20722087
range: 143..179,
20732088
kind: ChainingHint,
20742089
label: "B",
2090+
hover_trigger: Some(
2091+
Range(
2092+
143..179,
2093+
),
2094+
),
20752095
},
20762096
]
20772097
"#]],
@@ -2107,11 +2127,21 @@ fn main() {
21072127
range: 246..283,
21082128
kind: ChainingHint,
21092129
label: "B<X<i32, bool>>",
2130+
hover_trigger: Some(
2131+
Range(
2132+
246..283,
2133+
),
2134+
),
21102135
},
21112136
InlayHint {
21122137
range: 246..265,
21132138
kind: ChainingHint,
21142139
label: "A<X<i32, bool>>",
2140+
hover_trigger: Some(
2141+
Range(
2142+
246..265,
2143+
),
2144+
),
21152145
},
21162146
]
21172147
"#]],
@@ -2149,21 +2179,41 @@ fn main() {
21492179
range: 174..241,
21502180
kind: ChainingHint,
21512181
label: "impl Iterator<Item = ()>",
2182+
hover_trigger: Some(
2183+
Range(
2184+
174..241,
2185+
),
2186+
),
21522187
},
21532188
InlayHint {
21542189
range: 174..224,
21552190
kind: ChainingHint,
21562191
label: "impl Iterator<Item = ()>",
2192+
hover_trigger: Some(
2193+
Range(
2194+
174..224,
2195+
),
2196+
),
21572197
},
21582198
InlayHint {
21592199
range: 174..206,
21602200
kind: ChainingHint,
21612201
label: "impl Iterator<Item = ()>",
2202+
hover_trigger: Some(
2203+
Range(
2204+
174..206,
2205+
),
2206+
),
21622207
},
21632208
InlayHint {
21642209
range: 174..189,
21652210
kind: ChainingHint,
21662211
label: "&mut MyIter",
2212+
hover_trigger: Some(
2213+
Range(
2214+
174..189,
2215+
),
2216+
),
21672217
},
21682218
]
21692219
"#]],
@@ -2198,21 +2248,37 @@ fn main() {
21982248
range: 124..130,
21992249
kind: TypeHint,
22002250
label: "Struct",
2251+
hover_trigger: Some(
2252+
Range(
2253+
124..130,
2254+
),
2255+
),
22012256
},
22022257
InlayHint {
22032258
range: 145..185,
22042259
kind: ChainingHint,
22052260
label: "Struct",
2261+
hover_trigger: Some(
2262+
Range(
2263+
145..185,
2264+
),
2265+
),
22062266
},
22072267
InlayHint {
22082268
range: 145..168,
22092269
kind: ChainingHint,
22102270
label: "Struct",
2271+
hover_trigger: Some(
2272+
Range(
2273+
145..168,
2274+
),
2275+
),
22112276
},
22122277
InlayHint {
22132278
range: 222..228,
22142279
kind: ParameterHint,
22152280
label: "self",
2281+
hover_trigger: None,
22162282
},
22172283
]
22182284
"#]],

0 commit comments

Comments
 (0)