mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
Rename StructField -> Field
This commit is contained in:
parent
7bc7173230
commit
970dbf8717
27 changed files with 132 additions and 148 deletions
|
@ -422,7 +422,7 @@ fn highlight_element(
|
|||
fn highlight_name(db: &RootDatabase, def: Definition) -> Highlight {
|
||||
match def {
|
||||
Definition::Macro(_) => HighlightTag::Macro,
|
||||
Definition::StructField(_) => HighlightTag::Field,
|
||||
Definition::Field(_) => HighlightTag::Field,
|
||||
Definition::ModuleDef(def) => match def {
|
||||
hir::ModuleDef::Module(_) => HighlightTag::Module,
|
||||
hir::ModuleDef::Function(_) => HighlightTag::Function,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue