about summary refs log tree commit diff
path: root/library/core/src/mem/mod.rs
AgeCommit message (Expand)AuthorLines
2023-12-10remove redundant importssurechen-1/+1
2023-11-17only free lifetimes may get erasedlcnr-4/+6
2023-11-15Bump cfg(bootstrap)sMark Rousskov-4/+1
2023-11-15Substitute version placeholdersMark Rousskov-2/+2
2023-11-05Auto merge of #117537 - GKFX:offset-of-enum-feature, r=cjgillotbors-0/+1
2023-11-05Auto merge of #116218 - tgross35:const-maybe-uninit-zeroed, r=dtolnaybors-1/+2
2023-11-04Stabilize `const_mem_zeroed`Trevor Gross-1/+2
2023-11-03cfg_attr offset_of_enum feature in doctestGeorge Bateman-1/+2
2023-11-03Feature gate enums in offset_ofGeorge Bateman-1/+1
2023-11-03Auto merge of #117510 - elichai:patch-3, r=cuviperbors-0/+1
2023-11-02Update mod.rsJoshua Liebow-Feeser-0/+2
2023-11-02Update mod.rsJoshua Liebow-Feeser-2/+1
2023-11-02Remove trailing spaceJoshua Liebow-Feeser-1/+1
2023-11-02Expand mem::offset_of! docsJoshua Liebow-Feeser-2/+62
2023-11-02Add track_caller to transmute_copyElichai Turkel-0/+1
2023-10-31Update based on wesleywiser reviewGeorge Bateman-2/+2
2023-10-31Update MIR tests for offset_ofGeorge Bateman-0/+1
2023-10-31Enums in offset_of: update based on est31, scottmcm & llogiq reviewGeorge Bateman-2/+8
2023-10-28Auto merge of #116240 - dtolnay:constdiscriminant, r=thomccbors-1/+1
2023-10-26Add comment to mem::replace to explain why it's not implemented via mem::swapCarter Hunt Fogelman-0/+4
2023-10-14Auto merge of #116407 - Mark-Simulacrum:bootstrap-bump, r=onur-ozkanbors-1/+1
2023-10-06Rollup merge of #116329 - RalfJung:swap-comments, r=scottmcmGuillaume Gomez-5/+4
2023-10-05Add more diagnostic items for clippyJason Newcomb-0/+1
2023-10-03Bump version placeholdersMark Rousskov-1/+1
2023-10-02update some comments around swap()Ralf Jung-5/+4
2023-09-30mem::drop docsasquared31415-1/+1
2023-09-28Const stabilize mem::discriminantDavid Tolnay-1/+1
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-03Stabilize const_transmute_copyFinomnis-1/+1
2023-08-21Add `suggestion` for some `#[deprecated]` itemsDmitry Murzin-2/+2
2023-06-21Warn on unused offset_of!() resultChayim Refael Friedman-2/+3
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-05Migrate offset_of from a macro to builtin # syntaxest31-3/+3
2023-04-21minor tweaksDrMeepster-1/+1
2023-04-21offset_ofDrMeepster-0/+42
2023-04-15Add intra-doc links to size_of_* functionsest31-6/+13
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-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-19Adjust `transmute{,_copy}` to be clearer about which of `T` and `U` is input ...Thom Chiovoloni-16/+19