aboutsummaryrefslogtreecommitdiff
path: root/crates/rust-analyzer/tests/heavy_tests/main.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-05-23 12:09:24 +0100
committerGitHub <[email protected]>2020-05-23 12:09:24 +0100
commit88c292b1c29d824dcb9726a1ea146fe5b9c97028 (patch)
tree8b16648c3081bb1224d77b6e81d2764b7dc35a10 /crates/rust-analyzer/tests/heavy_tests/main.rs
parentd4daca9f02ec46be1beef79e9ed647a3a24e2434 (diff)
parent6197a960dffa4c7e8c2f60168a476e5f39ba50aa (diff)
Merge #4559
4559: Module name on hover shows another newline after it r=matklad a=Arthamys This changes the display of hover information to add a newline between the module path of the item and the signature of the item, as suggested in #3813 **Before** ![before_3813](https://user-images.githubusercontent.com/11710698/82609224-5d517d80-9bbc-11ea-9a08-0a1558409c6b.png) **After** ![after_3813](https://user-images.githubusercontent.com/11710698/82609208-562a6f80-9bbc-11ea-8cb6-4430269c5800.png) Co-authored-by: GalilĂ©e 'Bill' Enguehard <[email protected]>
Diffstat (limited to 'crates/rust-analyzer/tests/heavy_tests/main.rs')
-rw-r--r--crates/rust-analyzer/tests/heavy_tests/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/tests/heavy_tests/main.rs b/crates/rust-analyzer/tests/heavy_tests/main.rs
index 4e94c37e1..738a9a8e3 100644
--- a/crates/rust-analyzer/tests/heavy_tests/main.rs
+++ b/crates/rust-analyzer/tests/heavy_tests/main.rs
@@ -774,5 +774,5 @@ pub fn foo(_input: TokenStream) -> TokenStream {
774 }); 774 });
775 775
776 let value = res.get("contents").unwrap().get("value").unwrap().to_string(); 776 let value = res.get("contents").unwrap().get("value").unwrap().to_string();
777 assert_eq!(value, r#""```rust\nfoo::Bar\nfn bar()\n```""#) 777 assert_eq!(value, r#""foo::Bar\n___\n\n```rust\nfn bar()\n```""#)
778} 778}