do not truncate display for hover

Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
This commit is contained in:
Benjamin Coenen 2020-05-06 11:33:43 +02:00
parent 550c629498
commit 1ec953f117

View file

@ -446,7 +446,7 @@ mod tests {
} }
#[test] #[test]
fn hover_omits_default_generic_types() { fn hover_default_generic_types() {
check_hover_result( check_hover_result(
r#" r#"
//- /main.rs //- /main.rs
@ -458,7 +458,7 @@ struct Test<K, T = u8> {
fn main() { fn main() {
let zz<|> = Test { t: 23, k: 33 }; let zz<|> = Test { t: 23, k: 33 };
}"#, }"#,
&["Test<i32>"], &["Test<i32, u8>"],
); );
} }