aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkjeremy <[email protected]>2019-02-28 19:48:21 +0000
committerkjeremy <[email protected]>2019-02-28 19:48:21 +0000
commitd0efa77e0e8f70926e4e7ab6defa053ae043dc47 (patch)
treeebe5a3acef029914a116c68ad53fc92f845e9b31
parent198de6811722e5fbac08a6b5ba6d40a0d6ee100e (diff)
Update hover message since we do support globs
-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 }