summary refs log tree commit diff
path: root/library/core/src/mem/mod.rs
AgeCommit message (Expand)AuthorLines
2022-08-02Auto merge of #92268 - jswrenn:transmute, r=oli-obkbors-0/+4
2022-07-28Auto merge of #99182 - RalfJung:mitigate-uninit, r=scottmcmbors-1/+11
2022-07-27safe transmute: reference tracking issueJack Wrenn-1/+1
2022-07-27Initial (incomplete) implementation of transmutability trait.Jack Wrenn-0/+4
2022-07-26Make `transmute_copy` docs read betterasquared31415-1/+1
2022-07-24add miri-track-caller to some intrinsic-exposing methodsRalf Jung-0/+1
2022-07-12mention mitigation in the docsRalf Jung-0/+2
2022-07-12mem::uninitialized: mitigate many incorrect uses of this functionRalf Jung-1/+9
2022-07-03Add size assert in transmute_copy5225225-0/+2
2022-06-20Rollup merge of #95534 - jyn514:std-mem-copy, r=joshtriplettYuki Okushi-0/+22
2022-06-19Add `core::mem::copy` to complement `core::mem::drop`.Joshua Nelson-0/+22
2022-06-03Make `std::mem::needs_drop` accept `?Sized`Nikolai Vazquez-1/+1
2022-04-14Remove use of `#[rustc_deprecated]`Jacob Pratt-3/+3
2022-04-09Rollup merge of #95361 - scottmcm:valid-align, r=Mark-SimulacrumDylan DPC-0/+6
2022-04-08Make non-power-of-two alignments a validity error in `Layout`Scott McMurray-0/+6
2022-04-03core: document that the align_of* functions return the alignment in bytesAdam Sandberg Ericsson-5/+8
2022-03-31Adjust feature names that disagree on const stabilization versionDavid Tolnay-2/+2
2022-02-26For MIRI, cfg out the swap logic from 94212Scott McMurray-5/+22
2022-02-21Stop manually SIMDing in swap_nonoverlappingScott McMurray-3/+42
2022-01-04Add note about non_exhaustive to variant_countMark Rousskov-0/+4
2021-10-30Add #[must_use] to mem/ptr functionsJohn Kugelman-0/+13
2021-10-11Add enum_intrinsics_non_enums lintFlying-Toast-0/+1
2021-08-22Fix typos “an”→“a” and a few different ones that appeared in the sa...Frank Steffahn-1/+1
2021-07-30Auto merge of #87445 - amalik18:issue-83584-fix, r=kennytmbors-1/+1
2021-07-29Fix may not to appropriate might not or must notAli Malik-1/+1
2021-07-28Add #[track_caller] for some function in core::mem.Mara Bos-0/+2
2021-07-15Added diagnostic items to functions for ClippyxFrednet-0/+6
2021-06-27Revert "Revert effects of PRs 81167 and 83091."Albin Hedman-2/+4
2021-06-04Revert effects of PRs 81167 and 83091.Felix S. Klock II-4/+2
2021-04-21Remove `delete` alias from `mem::drop`.Mara Bos-1/+0
2021-03-21Auto merge of #83053 - oli-obk:const_stab_version, r=m-ou-sebors-2/+2
2021-03-15Constify mem::transmute_copyAlbin Hedman-1/+2
2021-03-15Constify mem::replace and ptr::replaceAlbin Hedman-1/+2
2021-03-15Constify mem::swap and ptr::swap[_nonoverlapping]Albin Hedman-1/+2
2021-03-15Fix const stability `since` versions.Oli Scherer-2/+2
2021-03-11Don't implement mem::replace with mem::swap.Mara Bos-3/+9
2021-02-25Convert primitives to use intra-doc linksJoshua Nelson-3/+0
2021-02-20Update the bootstrap compilerJoshua Nelson-8/+0
2021-01-31Add doc aliases for "delete"Konrad Borowski-0/+1
2021-01-04Make `size_of_val` and `min_align_of_val` intrinsics unsafeCamelid-5/+11
2020-12-31Remove many unnecessary manual link resolves from libraryCamelid-1/+0
2020-12-30Rollup merge of #80491 - RalfJung:dangling-of-val, r=oli-obkMara Bos-2/+4
2020-12-30CTFE: test size/align_of_val_raw on dangling pointersRalf Jung-2/+4
2020-12-29Make forget intrinsic safeTomasz Miąsko-1/+6
2020-10-11transmute_copy: explain that alignment is handled correctlyRalf Jung-4/+4
2020-10-01Uplift drop-bounds lint from clippyMichael Howell-0/+1
2020-09-14Use intra-doc links in `core::mem`Camelid-40/+17
2020-08-25Suggest `mem::forget` if `mem::ManuallyDrop::new` isn't usedScott McMurray-1/+1
2020-08-01See also X-Link mem::{swap, take, replace}Ryan Scheel-0/+16
2020-07-29Make `{align,size}_of_val` `const`Dylan MacKenzie-3/+5