mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
Move impls to ItemScope
This commit is contained in:
parent
030e540ad1
commit
1b8ce5b37b
10 changed files with 16 additions and 13 deletions
|
@ -182,7 +182,7 @@ fn visit_module(
|
|||
_ => (),
|
||||
}
|
||||
}
|
||||
for &impl_id in crate_def_map[module_id].impls.iter() {
|
||||
for impl_id in crate_def_map[module_id].scope.impls() {
|
||||
let impl_data = db.impl_data(impl_id);
|
||||
for &item in impl_data.items.iter() {
|
||||
match item {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue