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
{{ message }}
Repository navigation
Translation introduces UB for class with mutable field in unsafe #615
For methods that receive const receivers and have mutable fields, we do &self.x as *const T as *mut T to be able to write x. This introduces UB in the program because a later read of x assumes no write was taking place.
Activity