diff options
Diffstat (limited to 'crates/ra_ide/src/inlay_hints.rs')
-rw-r--r-- | crates/ra_ide/src/inlay_hints.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_ide/src/inlay_hints.rs b/crates/ra_ide/src/inlay_hints.rs index 8674912a6..319ac0048 100644 --- a/crates/ra_ide/src/inlay_hints.rs +++ b/crates/ra_ide/src/inlay_hints.rs | |||
@@ -164,7 +164,7 @@ mod tests { | |||
164 | let (analysis, file_id) = single_file( | 164 | let (analysis, file_id) = single_file( |
165 | r#" | 165 | r#" |
166 | struct Test<K, T = u8> { | 166 | struct Test<K, T = u8> { |
167 | k: K, | 167 | k: K, |
168 | t: T, | 168 | t: T, |
169 | } | 169 | } |
170 | 170 | ||
@@ -176,7 +176,7 @@ fn main() { | |||
176 | assert_debug_snapshot!(analysis.inlay_hints(file_id, None, false).unwrap(), @r###" | 176 | assert_debug_snapshot!(analysis.inlay_hints(file_id, None, false).unwrap(), @r###" |
177 | [ | 177 | [ |
178 | InlayHint { | 178 | InlayHint { |
179 | range: [65; 67), | 179 | range: [69; 71), |
180 | kind: TypeHint, | 180 | kind: TypeHint, |
181 | label: "Test<i32>", | 181 | label: "Test<i32>", |
182 | }, | 182 | }, |