mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
Better unsafe highlihgting tests
This commit is contained in:
parent
c476f71bdf
commit
3b4d000250
8 changed files with 16 additions and 9 deletions
|
@ -274,7 +274,7 @@ fn main() {
|
|||
unsafe {
|
||||
unsafe_fn();
|
||||
HasUnsafeFn.unsafe_method();
|
||||
let y = *x;
|
||||
let y = *(x);
|
||||
let z = -x;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue