|
|
|
|
|
by nyanpasu64
1791 days ago
|
|
> I'd rather it be called UB and work as intended anyways. Personally I disagree. If you want to write freely aliasing code, I think it's better to use &UnsafeCell or &Cell or &RefCell, perhaps with an Arc (or my AliasPtr crate) instead of trying to convince rustc that &mut isn't exclusive. |
|