mirror of
https://github.com/openharmony/third_party_rust_rust.git
synced 2026-07-20 04:04:29 -04:00
7e3bee6d8e
It creates the src pointer first, which is then invalidated by a unique borrow of the destination pointer. Swap the borrows around to fix this. Found with miri.