mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 21:13:37 +00:00
Merge #910
910: Update hover message since we do support globs r=matklad a=kjeremy #909 drew attention to this. Co-authored-by: kjeremy <kjeremy@gmail.com>
This commit is contained in:
commit
592b906604
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