mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Account for deref token in syntax highlighting of unsafe, add test for that case
This commit is contained in:
parent
7f2219dc76
commit
6c1682396c
1 changed files with 1 additions and 0 deletions
|
@ -389,6 +389,7 @@ fn main() {
|
|||
unsafe_fn();
|
||||
HasUnsafeFn.unsafe_method();
|
||||
let y = *x;
|
||||
let z = -x;
|
||||
}
|
||||
}
|
||||
"#
|
||||
|
|
Loading…
Reference in a new issue