diff options
Diffstat (limited to 'crates/ra_ide/src')
-rw-r--r-- | crates/ra_ide/src/syntax_highlighting.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_ide/src/syntax_highlighting.rs b/crates/ra_ide/src/syntax_highlighting.rs index a32ae0165..89efe71da 100644 --- a/crates/ra_ide/src/syntax_highlighting.rs +++ b/crates/ra_ide/src/syntax_highlighting.rs | |||
@@ -677,6 +677,7 @@ fn highlight_name(db: &RootDatabase, def: Definition) -> Highlight { | |||
677 | let mut h = Highlight::new(HighlightTag::Static); | 677 | let mut h = Highlight::new(HighlightTag::Static); |
678 | if s.is_mut(db) { | 678 | if s.is_mut(db) { |
679 | h |= HighlightModifier::Mutable; | 679 | h |= HighlightModifier::Mutable; |
680 | h |= HighlightModifier::Unsafe; | ||
680 | } | 681 | } |
681 | return h; | 682 | return h; |
682 | } | 683 | } |