aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorBenjamin Coenen <[email protected]>2020-05-06 10:33:43 +0100
committerBenjamin Coenen <[email protected]>2020-05-06 10:33:43 +0100
commit1ec953f11744c708ba74c238737eac8e96a1c7b1 (patch)
tree03ae99013362ce7024b7e5c253b6a6b159696780 /crates
parent550c62949829c16861aefd6c1aea240709343ac8 (diff)
do not truncate display for hover
Signed-off-by: Benjamin Coenen <[email protected]>
Diffstat (limited to 'crates')
-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