mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 01:17:27 +00:00
Update hover message since we do support globs
This commit is contained in:
parent
198de68117
commit
d0efa77e0e
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ impl HoverResult {
|
|||
/// for displaying in a UI
|
||||
pub fn to_markup(&self) -> String {
|
||||
let mut markup = if !self.exact {
|
||||
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.");
|
||||
let mut msg = String::from("Failed to exactly resolve the symbol. This is probably because rust_analyzer does not yet support traits.");
|
||||
if !self.results.is_empty() {
|
||||
msg.push_str(" \nThese items were found instead:");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue