rust/crates
bors[bot] 11de7ac2fb
Merge #4743
4743: Add tracking of packed repr, use it to highlight unsafe refs r=matklad a=Nashenas88

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.

Fixes #4600

Co-authored-by: Paul Daniel Faria <Nashenas88@users.noreply.github.com>
Co-authored-by: Paul Daniel Faria <nashenas88@users.noreply.github.com>
Co-authored-by: Paul Daniel Faria <paulf@pop-os.localdomain>
2020-08-12 13:20:18 +00:00
..
expect Fix clippy warnings 2020-08-10 15:05:01 +03:00
flycheck Revert style preference-related fixes 2020-08-12 14:08:55 +03:00
paths
ra_arena Revert style preference-related fixes 2020-08-12 14:08:55 +03:00
ra_assists Replace SepBy with Itertools 2020-08-12 15:04:06 +02:00
ra_cfg
ra_db Use salsa's purge to account for all memory 2020-08-05 15:28:20 +02:00
ra_fmt
ra_hir Merge #4743 2020-08-12 13:20:18 +00:00
ra_hir_def Move unsafe packed ref logic to Semantics, use Attrs::by_key to simplify repr attr lookup 2020-08-10 08:44:54 -04:00
ra_hir_expand Revert some FIXMEs 2020-08-11 17:19:02 +08:00
ra_hir_ty Revert function structs back to using bool to track self param, use first param for self information in syntax highlighting instead 2020-08-10 08:44:54 -04:00
ra_ide Merge #4743 2020-08-12 13:20:18 +00:00
ra_ide_db Remove Option<...> from result of Crate::root_module 2020-08-09 18:52:19 -04:00
ra_mbe Fix clippy warnings 2020-08-10 15:05:01 +03:00
ra_parser Cleanup parser modifiers tests 2020-08-12 14:52:37 +02:00
ra_proc_macro Fix clippy warnings 2020-08-10 15:05:01 +03:00
ra_proc_macro_srv
ra_prof Fix build on musl and test it in CI 2020-08-12 12:23:25 +02:00
ra_project_model
ra_ssr Use SyntaxNode.ancestors instead of a loop 2020-08-06 07:36:03 +10:00
ra_syntax Merge #5722 2020-08-12 13:06:38 +00:00
ra_text_edit Fix clippy warnings 2020-08-10 15:05:01 +03:00
ra_toolchain
ra_tt Fix clippy warnings 2020-08-10 15:05:01 +03:00
rust-analyzer Address some FIXMEs 2020-08-11 10:55:26 +08:00
stdx Replace SepBy with Itertools 2020-08-12 15:04:06 +02:00
test_utils
vfs Revert style preference-related fixes 2020-08-12 14:08:55 +03:00
vfs-notify