about summary refs log tree commit diff
path: root/library/core/src/mem
AgeCommit message (Expand)AuthorLines
2025-07-29Fix typo in `DropGuard` docLucas Werkmeister-1/+1
2025-07-29Rollup merge of #144236 - yoshuawuyts:drop-guard, r=Mark-SimulacrumStuart Cook-0/+159
2025-07-28Add `core::mem::DropGuard`Yosh-0/+159
2025-07-25Rollup merge of #143970 - SunkenPotato:update_mem_copy_docs, r=scottmcmMatthias Krüger-1/+1
2025-07-20Rollup merge of #143423 - hkBst:clippy-fix-1, r=workingjubileeGuillaume Gomez-1/+1
2025-07-19Remove deprecated MaybeUninit slice methodsltdk-112/+2
2025-07-15docs: update documentation of core::mem::copy to include const on the fn sign...SunkenPotato-1/+1
2025-07-08clippy fix: markdown indentation for indented items after line breakMarijn Schouten-1/+1
2025-07-07Remove support for dynamic allocasmejrs-1/+1
2025-07-02miri: improve errors for type validity assertion failuresRalf Jung-1/+3
2025-06-30Stop backends from needing to support nullary intrinsicsOli Scherer-2/+2
2025-06-20Add diagnostic items for ClippySamuel Tardieu-0/+1
2025-06-14Rollup merge of #141811 - mejrs:bye_locals, r=compiler-errorsMatthias Krüger-2/+26
2025-06-13Unimplement unsized_localsmejrs-2/+26
2025-06-12intrinsics: rename min_align_of to align_ofRalf Jung-10/+5
2025-06-02Fixed a typo in `ManuallyDrop`'s docneeko-cat-1/+1
2025-05-20make std::intrinsic functions actually be intrinsicsRalf Jung-0/+2
2025-05-14MaybeUninit::write: fix docMathis Bottinelli-1/+1
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