aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-02-28 19:53:15 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-02-28 19:53:15 +0000
commit592b906604d60a86af74c5dbb3bf40b2ddcf8061 (patch)
treeebe5a3acef029914a116c68ad53fc92f845e9b31 /crates/ra_ide_api/src
parent198de6811722e5fbac08a6b5ba6d40a0d6ee100e (diff)
parentd0efa77e0e8f70926e4e7ab6defa053ae043dc47 (diff)
Merge #910
910: Update hover message since we do support globs r=matklad a=kjeremy #909 drew attention to this. Co-authored-by: kjeremy <[email protected]>
Diffstat (limited to 'crates/ra_ide_api/src')
-rw-r--r--crates/ra_ide_api/src/hover.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/hover.rs b/crates/ra_ide_api/src/hover.rs
index 47913d753..1a1853df3 100644
--- a/crates/ra_ide_api/src/hover.rs
+++ b/crates/ra_ide_api/src/hover.rs
@@ -50,7 +50,7 @@ impl HoverResult {
50 /// for displaying in a UI 50 /// for displaying in a UI
51 pub fn to_markup(&self) -> String { 51 pub fn to_markup(&self) -> String {
52 let mut markup = if !self.exact { 52 let mut markup = if !self.exact {
53 let mut msg = String::from("Failed to exactly resolve the symbol. This is probably because rust_analyzer does not yet support glob imports or traits."); 53 let mut msg = String::from("Failed to exactly resolve the symbol. This is probably because rust_analyzer does not yet support traits.");
54 if !self.results.is_empty() { 54 if !self.results.is_empty() {
55 msg.push_str(" \nThese items were found instead:"); 55 msg.push_str(" \nThese items were found instead:");
56 } 56 }