From 6c1682396c9894da07af74b43c2443e9bde89be4 Mon Sep 17 00:00:00 2001 From: Paul Daniel Faria Date: Wed, 27 May 2020 22:37:23 -0400 Subject: Account for deref token in syntax highlighting of unsafe, add test for that case --- crates/ra_ide/src/syntax_highlighting/tests.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates') 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() { unsafe_fn(); HasUnsafeFn.unsafe_method(); let y = *x; + let z = -x; } } "# -- cgit v1.2.3