aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/syntax_highlighting.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide_api/src/syntax_highlighting.rs')
-rw-r--r--crates/ra_ide_api/src/syntax_highlighting.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/syntax_highlighting.rs b/crates/ra_ide_api/src/syntax_highlighting.rs
index 28c50102e..a27d9f367 100644
--- a/crates/ra_ide_api/src/syntax_highlighting.rs
+++ b/crates/ra_ide_api/src/syntax_highlighting.rs
@@ -105,7 +105,7 @@ pub(crate) fn highlight(db: &RootDatabase, file_id: FileId) -> Vec<HighlightedRa
105 classify_name_ref(db, file_id, &name_ref).and_then(|d| Some(d.item)); 105 classify_name_ref(db, file_id, &name_ref).and_then(|d| Some(d.item));
106 match name_kind { 106 match name_kind {
107 Some(Macro(_)) => "macro", 107 Some(Macro(_)) => "macro",
108 Some(FieldAccess(_)) => "field", 108 Some(Field(_)) => "field",
109 Some(AssocItem(hir::AssocItem::Function(_))) => "function", 109 Some(AssocItem(hir::AssocItem::Function(_))) => "function",
110 Some(AssocItem(hir::AssocItem::Const(_))) => "constant", 110 Some(AssocItem(hir::AssocItem::Const(_))) => "constant",
111 Some(AssocItem(hir::AssocItem::TypeAlias(_))) => "type", 111 Some(AssocItem(hir::AssocItem::TypeAlias(_))) => "type",