aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide
diff options
context:
space:
mode:
authorPaul Daniel Faria <[email protected]>2020-05-28 03:37:23 +0100
committerPaul Daniel Faria <[email protected]>2020-06-27 15:11:10 +0100
commit6c1682396c9894da07af74b43c2443e9bde89be4 (patch)
treefe4617b0f08e38bf96caede0b3bc76dd281f8ad7 /crates/ra_ide
parent7f2219dc76d6cddc46eadb2b2dd674795e0efce8 (diff)
Account for deref token in syntax highlighting of unsafe, add test for that case
Diffstat (limited to 'crates/ra_ide')
-rw-r--r--crates/ra_ide/src/syntax_highlighting/tests.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_ide/src/syntax_highlighting/tests.rs b/crates/ra_ide/src/syntax_highlighting/tests.rs
index e9a6fbcdf..facdc42b7 100644
--- a/crates/ra_ide/src/syntax_highlighting/tests.rs
+++ b/crates/ra_ide/src/syntax_highlighting/tests.rs
@@ -389,6 +389,7 @@ fn main() {
389 unsafe_fn(); 389 unsafe_fn();
390 HasUnsafeFn.unsafe_method(); 390 HasUnsafeFn.unsafe_method();
391 let y = *x; 391 let y = *x;
392 let z = -x;
392 } 393 }
393} 394}
394"# 395"#