aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide/src')
-rw-r--r--crates/ra_ide/src/hover.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_ide/src/hover.rs b/crates/ra_ide/src/hover.rs
index d52f22157..06d4f1c63 100644
--- a/crates/ra_ide/src/hover.rs
+++ b/crates/ra_ide/src/hover.rs
@@ -446,7 +446,7 @@ mod tests {
446 } 446 }
447 447
448 #[test] 448 #[test]
449 fn hover_omits_default_generic_types() { 449 fn hover_default_generic_types() {
450 check_hover_result( 450 check_hover_result(
451 r#" 451 r#"
452//- /main.rs 452//- /main.rs
@@ -458,7 +458,7 @@ struct Test<K, T = u8> {
458fn main() { 458fn main() {
459 let zz<|> = Test { t: 23, k: 33 }; 459 let zz<|> = Test { t: 23, k: 33 };
460}"#, 460}"#,
461 &["Test<i32>"], 461 &["Test<i32, u8>"],
462 ); 462 );
463 } 463 }
464 464