about summary refs log tree commit diff
path: root/library/core/src/mem
AgeCommit message (Expand)AuthorLines
2023-09-16Auto merge of #115520 - Finomnis:const_transmute_copy, r=dtolnaybors-1/+1
2023-09-08Rollup merge of #104299 - mkrasnitski:discriminant-transmute-docs, r=oli-obkGuillaume Gomez-0/+5
2023-09-03Clarify ManuallyDrop bit validityJoshua Liebow-Feeser-6/+6
2023-09-03Stabilize const_transmute_copyFinomnis-1/+1
2023-08-22Auto merge of #113365 - dima74:diralik/add-deprecated-suggestions, r=workingj...bors-2/+2
2023-08-21Add `suggestion` for some `#[deprecated]` itemsDmitry Murzin-2/+2
2023-07-12Flip cfg's for bootstrap bumpMark Rousskov-2/+1
2023-06-29Enable co-induction support for Safe TransmuteBryan Garza-0/+1
2023-06-21Auto merge of #111684 - ChayimFriedman2:unused-offset-of, r=WaffleLapkinbors-2/+3
2023-06-21Warn on unused offset_of!() resultChayim Refael Friedman-2/+3
2023-06-20Merge attrs, better validationMichael Goulet-1/+2
2023-06-20Add rustc_do_not_implement_via_objectMichael Goulet-0/+1
2023-06-01Require that const param tys implement ConstParamTyBoxy-0/+5
2023-05-30Bump to latest beta compilerMark Rousskov-2/+1
2023-05-21Rename `drop_copy` lint to `dropping_copy_types`Urgau-1/+1
2023-05-10Allow the drop_copy lint in some library examplesUrgau-0/+1
2023-05-09Rollup merge of #110694 - est31:builtin, r=petrochenkovDylan DPC-3/+3
2023-05-06clean up transmutes in coreLukas Markeffsky-2/+2
2023-05-05Migrate offset_of from a macro to builtin # syntaxest31-3/+3
2023-04-22Add `intrinsics::transmute_unchecked`Scott McMurray-7/+3
2023-04-21minor tweaksDrMeepster-1/+1
2023-04-21offset_ofDrMeepster-0/+42
2023-04-16rm const traits in libcoreDeadbeef-8/+4
2023-04-16Rollup merge of #110347 - est31:size_of_links, r=jyn514Yuki Okushi-6/+13
2023-04-15Add intra-doc links to size_of_* functionsest31-6/+13
2023-04-13Improve safe transmute error reportingBryan Garza-4/+0
2023-04-07Avoid some manual slice length calculationScott McMurray-12/+4
2023-03-13Clarify stability guarantee for lifetimes in enum discriminantsMichael Krasnitski-0/+5
2023-01-30stage-step cfgsMark Rousskov-1/+0
2022-12-13Rename `assert_uninit_valid` intrinsicNilstrieb-1/+2
2022-11-26fix broken link fragmentLukas Markeffsky-1/+1
2022-11-26explain how to get the discriminant out of a `#[repr(T)] enum`Lukas Markeffsky-1/+60
2022-11-15Auto merge of #104054 - RalfJung:byte-provenance, r=oli-obkbors-4/+1
2022-11-14Rollup merge of #104332 - Elarcis:maybe_uninit_doc_fix, r=m-ou-seMatthias Krüger-2/+2
2022-11-12Fixed some `_i32` notation in `maybe_uninit`’s docElarcis-2/+2
2022-11-12Rollup merge of #104308 - scottmcm:no-more-validalign, r=thomccGuillaume Gomez-5/+0
2022-11-11Remove the old `ValidAlign` nameScott McMurray-5/+0
2022-11-06remove no-longer-needed work-arounds from the standard libraryRalf Jung-4/+1
2022-10-30Rollup merge of #100006 - jyn514:update-copy, r=dtolnayMatthias Krüger-1/+1
2022-10-23MaybeUninit: use assume_init_drop() in the partially initialized array exampleAndrew Tribick-2/+1
2022-10-19Adjust `transmute{,_copy}` to be clearer about which of `T` and `U` is input ...Thom Chiovoloni-16/+19
2022-10-16Make transpose const and inlineAlex Saveau-2/+4
2022-10-15Add MaybeUninit array transpose implsAlex Saveau-0/+37
2022-10-14more dupe word typosRageking8-1/+1
2022-10-10Rollup merge of #102072 - scottmcm:ptr-alignment-type, r=thomccYuki Okushi-266/+4
2022-09-26remove cfg(bootstrap)Pietro Albini-2/+2
2022-09-24Add some more documentationScott McMurray-0/+26
2022-09-22Make ZST checks in core/alloc more readableScott McMurray-0/+15
2022-09-20Add `ptr::Alignment` typeScott McMurray-266/+4
2022-09-14Make `core::mem::copy` constJoshua Nelson-1/+1