mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Revert source_analyzer changes
This commit is contained in:
parent
afc1d18ff3
commit
f65daf23df
2 changed files with 6 additions and 55 deletions
|
@ -696,7 +696,6 @@ impl AssocItem {
|
|||
AssocItem::TypeAlias(t) => t.module(db),
|
||||
}
|
||||
}
|
||||
|
||||
pub fn container(self, db: &impl DefDatabase) -> AssocItemContainer {
|
||||
let container = match self {
|
||||
AssocItem::Function(it) => it.id.lookup(db).container,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue