diff options
author | Aleksey Kladov <[email protected]> | 2020-06-08 14:23:03 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-06-08 14:23:03 +0100 |
commit | 3b4d000250ae142288408cfe2abe7c10d4495c92 (patch) | |
tree | 815afbf6c0b7fa223a58f858212d9ae4ea9d073d /crates/ra_ide/src/syntax_highlighting/tests.rs | |
parent | c476f71bdf83e930ebe5c2ad2754f24ee0925c32 (diff) |
Better unsafe highlihgting tests
Diffstat (limited to 'crates/ra_ide/src/syntax_highlighting/tests.rs')
-rw-r--r-- | crates/ra_ide/src/syntax_highlighting/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide/src/syntax_highlighting/tests.rs b/crates/ra_ide/src/syntax_highlighting/tests.rs index ba345d90a..021f8e7e2 100644 --- a/crates/ra_ide/src/syntax_highlighting/tests.rs +++ b/crates/ra_ide/src/syntax_highlighting/tests.rs | |||
@@ -274,7 +274,7 @@ fn main() { | |||
274 | unsafe { | 274 | unsafe { |
275 | unsafe_fn(); | 275 | unsafe_fn(); |
276 | HasUnsafeFn.unsafe_method(); | 276 | HasUnsafeFn.unsafe_method(); |
277 | let y = *x; | 277 | let y = *(x); |
278 | let z = -x; | 278 | let z = -x; |
279 | } | 279 | } |
280 | } | 280 | } |