mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-03 10:33:34 +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
@ -446,7 +446,7 @@ mod tests {
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn hover_omits_default_generic_types() {
|
||||
fn hover_default_generic_types() {
|
||||
check_hover_result(
|
||||
r#"
|
||||
//- /main.rs
|
||||
@ -458,7 +458,7 @@ struct Test<K, T = u8> {
|
||||
fn main() {
|
||||
let zz<|> = Test { t: 23, k: 33 };
|
||||
}"#,
|
||||
&["Test<i32>"],
|
||||
&["Test<i32, u8>"],
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user