diff options
author | Paul Daniel Faria <[email protected]> | 2020-06-04 04:38:25 +0100 |
---|---|---|
committer | Paul Daniel Faria <[email protected]> | 2020-08-10 13:44:54 +0100 |
commit | 263f9a7f231a474dd56d02adbcd7c57d079e88fd (patch) | |
tree | 125391657a69cb05ac14fadee37e6138dc0daae7 /crates/ra_syntax/test_data | |
parent | f3336509e52187a7a70a8043557a7317872e3a2f (diff) |
Add tracking of packed repr, use it to highlight unsafe refs
Taking a reference to a misaligned field on a packed struct is an
unsafe operation. Highlight that behavior. Currently, the misaligned
part isn't tracked, so this highlight is a bit too aggressive.
Diffstat (limited to 'crates/ra_syntax/test_data')
0 files changed, 0 insertions, 0 deletions