mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
Remove irrelevant distinction
This commit is contained in:
parent
4d0d113c7d
commit
f55be75a17
6 changed files with 22 additions and 48 deletions
|
@ -321,9 +321,6 @@ fn highlight_name(db: &RootDatabase, name_kind: NameKind) -> &'static str {
|
|||
match name_kind {
|
||||
Macro(_) => tags::MACRO,
|
||||
Field(_) => tags::FIELD,
|
||||
AssocItem(hir::AssocItem::Function(_)) => tags::FUNCTION,
|
||||
AssocItem(hir::AssocItem::Const(_)) => tags::CONSTANT,
|
||||
AssocItem(hir::AssocItem::TypeAlias(_)) => tags::TYPE,
|
||||
Def(hir::ModuleDef::Module(_)) => tags::MODULE,
|
||||
Def(hir::ModuleDef::Function(_)) => tags::FUNCTION,
|
||||
Def(hir::ModuleDef::Adt(_)) => tags::TYPE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue