about summary refs log tree commit diff
path: root/src/libcore/mem
AgeCommit message (Expand)AuthorLines
2020-04-25Bump bootstrap compilerMark Rousskov-20/+0
2020-04-23Rollup merge of #71446 - Amanieu:transmute_copy, r=sfacklerDylan DPC-1/+6
2020-04-22Only use read_unaligned in transmute_copy if necessaryAmanieu d'Antras-1/+6
2020-04-17Lint must_use on mem::replaceJosh Stone-0/+1
2020-03-22Auto merge of #69079 - CAD97:layout-of-ptr, r=RalfJungbors-0/+92
2020-03-21Allow calculating the layout behind a pointerCAD97-0/+92
2020-03-19Don't hard-code the vector length in the examples.Hrvoje Nikšić-4/+3
2020-03-19Minor re-wordings and typo fixes.Hrvoje Nikšić-8/+8
2020-03-19Restore (and reword) the warning against passing invalid values to mem::forget.Hrvoje Niksic-17/+35
2020-03-19Clarify the relationship between `forget()` and `ManuallyDrop`.Hrvoje Niksic-11/+27
2020-03-17Rollup merge of #69922 - RalfJung:less-intrinsic, r=oli-obkMazdak Farrokhzad-4/+4
2020-03-16make mem::{zeroed,uninitialized} inline(always)Ralf Jung-2/+2
2020-03-12rename panic_if_ intrinsics to assert_Ralf Jung-2/+14
2020-03-11implement zeroed and uninitialized with MaybeUninitRalf Jung-2/+2
2020-03-11Rollup merge of #69825 - lcnr:discriminant, r=oli-obkMazdak Farrokhzad-1/+2
2020-03-11Rollup merge of #66059 - RalfJung:panic-on-non-zero, r=eddybMazdak Farrokhzad-0/+6
2020-03-08constify `mem::discriminant`Bastian Kauschke-1/+2
2020-03-06fix various typosMatthias Krüger-2/+2
2020-03-02actually mark the function constDutchGhost-1/+1
2020-03-01constify mem::forgetDutchGhost-0/+1
2020-02-29mem::zeroed/uninit: panic on types that do not permit zero-initializationRalf Jung-0/+6
2020-02-22Fix doc example for `MaybeUninit::get_mut()`Daniel Henry-Mantilla-1/+1
2020-01-09stabalize ManuallyDrop::takeCAD97-7/+8
2020-01-03Minor: change take() docs grammar to match other docsPeter Todd-1/+1
2019-12-29Typo fixPeter Todd-1/+1
2019-12-22Format the worldMark Rousskov-9/+8
2019-12-21Require issue = "none" over issue = "0" in unstable attributesRoss MacArthur-5/+5
2019-12-18Propagate cfg bootstrapMark Rousskov-38/+12
2019-12-14Auto merge of #67136 - oli-obk:const_stability, r=Centrilbors-0/+19
2019-12-13be explicit that mem::uninitialized is the same as MaybeUninit::uninit().assu...Ralf Jung-1/+5
2019-12-13Require stable/unstable annotations for the constness of all stable functions...Oliver Scherer-0/+19
2019-11-28Auto merge of #65013 - petertodd:2019-maybeuninit-debug, r=sfacklerbors-0/+9
2019-11-26Format libcore with rustfmtDavid Tolnay-1/+1
2019-11-24Rollup merge of #66411 - RalfJung:forget, r=sfacklerMazdak Farrokhzad-3/+33
2019-11-16Clarify transmute_copy documentation exampleAdam Schwalm-5/+5
2019-11-14mem::forget docs: mention ManuallyDropRalf Jung-3/+33
2019-11-10Rollup merge of #66217 - RalfJung:diagnostic-items, r=CentrilYuki Okushi-0/+4
2019-11-09partially port invalid_value lint to diagnostic itemsRalf Jung-0/+4
2019-11-08Rollup merge of #65580 - SimonSapin:maybeuninit-array, r=AmanieuYuki Okushi-0/+63
2019-11-07Implement Debug for MaybeUninitPeter Todd-0/+9
2019-11-07Rollup merge of #63793 - oli-obk:🧹, r=dtolnayMazdak Farrokhzad-1/+20
2019-11-07MaybeUninit::uninit_array docs: better exampleSimon Sapin-14/+20
2019-11-07Apply docs suggestions from reviewSimon Sapin-4/+4
2019-11-07Add `MaybeUninit` methods `uninit_array`, `slice_get_ref`, `slice_get_mut`Simon Sapin-0/+57
2019-11-07Rollup merge of #66044 - RalfJung:uninit-lint, r=oli-obkYuki Okushi-0/+1
2019-11-06Silence a deprecation warningOliver Scherer-0/+1
2019-11-06Halloween... time to get rid of 👻Oliver Scherer-6/+6
2019-11-06Have tidy ensure that we document all `unsafe` blocks in libcoreOliver Scherer-1/+19
2019-11-04Minor style improvementsDaniel Henry-Mantilla-13/+7
2019-11-04more robust method checking through DefId and diagnostic_itemRalf Jung-0/+1