aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src
diff options
context:
space:
mode:
authorPaul Daniel Faria <[email protected]>2020-08-07 15:40:09 +0100
committerPaul Daniel Faria <[email protected]>2020-08-10 13:46:34 +0100
commit2199d0cda9c745ecb460dd987b8da982d02bc130 (patch)
tree5dae7b85010471639a219bfc16be90285f917c04 /crates/ra_ide/src
parent61dff939f909e0c53bcd3be4c3e672c794022cde (diff)
Fix type names broken by rebase, redo expected test because of rebase
Diffstat (limited to 'crates/ra_ide/src')
-rw-r--r--crates/ra_ide/src/syntax_highlighting.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_ide/src/syntax_highlighting.rs b/crates/ra_ide/src/syntax_highlighting.rs
index 4527885e9..c62bb3f1a 100644
--- a/crates/ra_ide/src/syntax_highlighting.rs
+++ b/crates/ra_ide/src/syntax_highlighting.rs
@@ -662,9 +662,9 @@ fn highlight_element(
662 } 662 }
663 T![ref] => element 663 T![ref] => element
664 .parent() 664 .parent()
665 .and_then(ast::BindPat::cast) 665 .and_then(ast::IdentPat::cast)
666 .and_then(|bind_pat| { 666 .and_then(|ident_pat| {
667 if sema.is_unsafe_bind_pat(&bind_pat) { 667 if sema.is_unsafe_ident_pat(&ident_pat) {
668 Some(HighlightModifier::Unsafe) 668 Some(HighlightModifier::Unsafe)
669 } else { 669 } else {
670 None 670 None