mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
Improve call_hierarchy and incoming/outgoing_calls
This commit is contained in:
parent
33cdc21832
commit
d777eddf0d
2 changed files with 177 additions and 97 deletions
|
@ -112,12 +112,6 @@ impl NavigationTarget {
|
|||
module.to_nav(db)
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
pub(crate) fn assert_match(&self, expected: &str) {
|
||||
let actual = self.debug_render();
|
||||
test_utils::assert_eq_text!(expected.trim(), actual.trim(),);
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
pub(crate) fn debug_render(&self) -> String {
|
||||
let mut buf = format!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue