You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This must be unsafe, because the safety invariants of ManuallyDrop permit patterns that would be unsound, like calling try_as_arc_owned twice on the same TaggedArcPtr and invoking ManuallyDrop::drop or ::take on both of those two separate ManuallyDrop values, easily producing a use-after-free.
This is a non-blocking issue because it is an internal-only interface which is used correctly.
This doesn't prevent our use of rust-analyzer, but I'm sharing it here in case you agree and want to clarify the safety in the code.
The text was updated successfully, but these errors were encountered:
An audit of
unsafe
in ra_ap_intern found this possible issue:rust-analyzer/crates/intern/src/symbol.rs
Lines 81 to 92 in dd9cd22
This doesn't prevent our use of rust-analyzer, but I'm sharing it here in case you agree and want to clarify the safety in the code.
The text was updated successfully, but these errors were encountered: