rust/library/core
Guillaume Gomez 269d784dd5
Rollup merge of #136890 - saethlin:swap_nonoverlapping, r=RalfJung
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
2025-02-12 20:30:54 +01:00
..
src Rollup merge of #136890 - saethlin:swap_nonoverlapping, r=RalfJung 2025-02-12 20:30:54 +01:00
Cargo.toml Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00