Account for deref token in syntax highlighting of unsafe, add test for that case

This commit is contained in:
Paul Daniel Faria 2020-05-27 22:37:23 -04:00
parent 7f2219dc76
commit 6c1682396c

View file

@ -389,6 +389,7 @@ fn main() {
unsafe_fn();
HasUnsafeFn.unsafe_method();
let y = *x;
let z = -x;
}
}
"#