mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
Rename ImplItem to ImplBlock
rustc uses the name ImplItem for items in impls, not the impl {} block itself, which could lead to confusion.
This commit is contained in:
parent
a0d483011d
commit
fe6c4115f6
24 changed files with 51 additions and 52 deletions
|
@ -233,7 +233,7 @@ impl InputModuleItems {
|
|||
ast::ModuleItem::TypeDef(it) => {
|
||||
self.items.push(ModuleItem::new(file_id, file_items, it)?)
|
||||
}
|
||||
ast::ModuleItem::ImplItem(_) => {
|
||||
ast::ModuleItem::ImplBlock(_) => {
|
||||
// impls don't define items
|
||||
}
|
||||
ast::ModuleItem::UseItem(it) => self.add_use_item(file_items, it),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue