aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/syntax_highlighting.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ide/src/syntax_highlighting.rs')
-rw-r--r--crates/ide/src/syntax_highlighting.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/crates/ide/src/syntax_highlighting.rs b/crates/ide/src/syntax_highlighting.rs
index aefc86949..25d6f7abd 100644
--- a/crates/ide/src/syntax_highlighting.rs
+++ b/crates/ide/src/syntax_highlighting.rs
@@ -748,12 +748,6 @@ fn highlight_def(db: &RootDatabase, def: Definition) -> Highlight {
748 if func.is_unsafe(db) { 748 if func.is_unsafe(db) {
749 h |= HighlightModifier::Unsafe; 749 h |= HighlightModifier::Unsafe;
750 } 750 }
751 if let Some(self_param) = func.self_param(db) {
752 match self_param.access(db) {
753 hir::Access::Exclusive => h |= HighlightModifier::Mutable,
754 hir::Access::Shared | hir::Access::Owned => (),
755 }
756 }
757 return h; 751 return h;
758 } 752 }
759 hir::ModuleDef::Adt(hir::Adt::Struct(_)) => HighlightTag::Struct, 753 hir::ModuleDef::Adt(hir::Adt::Struct(_)) => HighlightTag::Struct,