aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/assist_context.rs
diff options
context:
space:
mode:
authorPaul Daniel Faria <[email protected]>2020-06-04 04:38:25 +0100
committerPaul Daniel Faria <[email protected]>2020-08-10 13:44:54 +0100
commit263f9a7f231a474dd56d02adbcd7c57d079e88fd (patch)
tree125391657a69cb05ac14fadee37e6138dc0daae7 /crates/ra_assists/src/assist_context.rs
parentf3336509e52187a7a70a8043557a7317872e3a2f (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_assists/src/assist_context.rs')
0 files changed, 0 insertions, 0 deletions