mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
269d784dd5
Change swap_nonoverlapping from lang to library UB The implementation of ptr::swap_nonoverlapping does not always escalate its safety contract to language UB, so it should be `check_library_ub`. Fixes https://github.com/rust-lang/miri/issues/4188