mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
do not truncate display for hover
Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
This commit is contained in:
parent
550c629498
commit
1ec953f117
1 changed files with 2 additions and 2 deletions
|
@ -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>"],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue