summary refs log tree commit diff
path: root/library/core/src/mem
AgeCommit message (Expand)AuthorLines
2025-03-19Rollup merge of #135394 - clarfonthey:uninit-slices-part-2, r=tgross35Matthias Krüger-139/+181
2025-03-16Rollup merge of #138323 - kpreid:offset-of-doc, r=Mark-Simulacrum许杰友 Jieyou Xu (Joe)-36/+48
2025-03-16Rollup merge of #138082 - thaliaarchi:slice-cfg-not-test, r=thomcc许杰友 Jieyou Xu (Joe)-6/+6
2025-03-12Allow more top-down inlining for single-BB calleesScott McMurray-2/+7
2025-03-10Move `offset_of_enum` documentation to unstable book; add `offset_of_slice`.Kevin Reid-17/+9
2025-03-10Expand and organize `offset_of!` documentation.Kevin Reid-21/+41
2025-03-08Add inherent versions of MaybeUninit::fill methods for slicesltdk-139/+181
2025-03-06library: Use size_of from the prelude instead of importedThalia Archibald-34/+24
2025-03-06Remove #[cfg(not(test))] gates in coreThalia Archibald-6/+6
2025-02-26Rollup merge of #134585 - cyrgani:uninit_array, r=AmanieuLeón Orell Valerian Liehr-36/+0
2025-02-24remove some unnecessary rustc_const_unstableRalf Jung-3/+0
2025-02-16Rollup merge of #136986 - ehuss:library-unsafe-fun, r=NoratriebMatthias Krüger-3/+3
2025-02-15remove MaybeUninit::uninit_arraycyrgani-36/+0
2025-02-14core: Apply unsafe_op_in_unsafe_fnEric Huss-3/+3
2025-02-13core: Apply unsafe_attr_outside_unsafeEric Huss-1/+1
2025-01-29Remove minor future footgun in `impl Debug for MaybeUninit`Sky-3/+2
2025-01-11Add inherent versions of MaybeUninit methods for slicesltdk-227/+337
2025-01-08update cfg(bootstrap)Pietro Albini-3/+2
2025-01-08update version placeholdersPietro Albini-4/+4
2024-12-25rename typed_swap → typed_swap_nonoverlappingRalf Jung-1/+1
2024-12-25stabilize const_swapRalf Jung-1/+1
2024-12-22Rollup merge of #134583 - Enselic:maybe-uninit-transmute, r=workingjubileeMatthias Krüger-0/+20
2024-12-22Auto merge of #131193 - EFanZh:asserts-vec-len, r=the8472bors-0/+11
2024-12-22docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to saf...Martin Nordholts-0/+20
2024-12-20split up `#[rustc_deny_explicit_impl]` attributeLukas Markeffsky-1/+3
2024-12-15Asserts the maximum value that can be returned from `Vec::len`EFanZh-0/+11
2024-12-03Rollup merge of #133762 - RalfJung:const-size-of-val, r=workingjubileeMatthias Krüger-4/+2
2024-12-02stabilize const_{size,align}_of_valRalf Jung-4/+2
2024-12-02Stabilize `const_maybe_uninit_write`Trevor Gross-2/+2
2024-11-27update cfgsBoxy-6/+3
2024-11-27replace placeholder versionBoxy-1/+1
2024-11-22Shorten the `MaybeUninit` `Debug` implementationTrevor Gross-1/+5
2024-11-20Rollup merge of #132732 - gavincrawford:as_ptr_attribute, r=UrgauJacob Pratt-0/+2
2024-11-11Tag relevant functions with #[rustc_as_ptr] attributegavincrawford-0/+2
2024-11-02get rid of a whole bunch of unnecessary rustc_const_unstable attributesRalf Jung-6/+0
2024-11-02Rollup merge of #132451 - RalfJung:less-rustc_allow_const_fn_unstable, r=tgro...Guillaume Gomez-3/+0
2024-11-02Rollup merge of #132413 - lolbinarycat:offset_of_nested-docs, r=workingjubileeGuillaume Gomez-5/+3
2024-11-01remove some unnecessary rustc_allow_const_fn_unstableRalf Jung-3/+0
2024-10-31use semantic line breaklolbinarycat-2/+2
2024-10-31update offset_of! docs to reflect the stablization of nestingbinarycat-4/+2
2024-10-25library: consistently use American spelling for 'behavior'Ralf Jung-1/+1
2024-10-15update bootstrap configsJosh Stone-4/+0
2024-10-15replace placeholder versionJosh Stone-5/+2
2024-10-14Rollup merge of #131274 - workingjubilee:stabilize-the-one-that-got-away, r=s...Matthias Krüger-2/+7
2024-10-12library: Stabilize `const_replace`Jubilee Young-1/+2
2024-10-05library: Stabilize const `MaybeUninit::assume_init_mut`Jubilee Young-2/+7
2024-09-27Rollup merge of #130279 - theemathas:manually-drop-docs, r=thomcc,traviscrossGuillaume Gomez-12/+118
2024-09-21Reword ManuallyDrop+Box interactionTim (Theemathas) Chirananthavat-2/+3
2024-09-18run `x.py fmt`ultrabear-1/+4
2024-09-18stabilize `const_maybe_uninit_as_mut_ptr`ultrabear-2/+2