Better unsafe highlihgting tests

This commit is contained in:
Aleksey Kladov 2020-06-08 15:23:03 +02:00
parent c476f71bdf
commit 3b4d000250
8 changed files with 16 additions and 9 deletions

View file

@ -274,7 +274,7 @@ fn main() {
unsafe {
unsafe_fn();
HasUnsafeFn.unsafe_method();
let y = *x;
let y = *(x);
let z = -x;
}
}