about summary refs log tree commit diff
path: root/library/core/src/ptr
AgeCommit message (Expand)AuthorLines
2024-12-21Correctly document is_null CTFE behavior.Tim (Theemathas) Chirananthavat-16/+22
2024-12-21Less unwrap() in documentationKornel-3/+6
2024-12-20split up `#[rustc_deny_explicit_impl]` attributeLukas Markeffsky-1/+3
2024-12-19fix typo in ptr/mod.rsleejaehong-1/+1
2024-12-12Fix typos in docs on provenanceAlisa Sireneva-4/+5
2024-12-11Remove consteval note from <*mut T>::align_offset docs.Zachary S-9/+0
2024-12-10stabilize const_nonnull_newRalf Jung-3/+1
2024-12-04Rollup merge of #133651 - scottmcm:nonnull-nonzero-no-field-projection, r=oli...Matthias Krüger-23/+30
2024-12-03Update `NonZero` and `NonNull` to not field-project (per MCP807)Scott McMurray-23/+30
2024-12-01Rollup merge of #133678 - Urgau:stabilize-ptr_fn_addr_eq, r=jhprattJacob Pratt-3/+1
2024-12-01Rollup merge of #133672 - RalfJung:const-stability-cleanup, r=jhprattJacob Pratt-8/+1
2024-11-30Stabilize `ptr::fn_addr_eq`Urgau-3/+1
2024-11-30get rid of a bunch of unnecessary rustc_const_unstableRalf Jung-8/+1
2024-11-30move swap_nonoverlapping constness to separate feature gateRalf Jung-2/+2
2024-11-29Auto merge of #133533 - BoxyUwU:bump-boostrap, r=jieyouxu,Mark-Simulacrumbors-41/+26
2024-11-27update cfgsBoxy-15/+0
2024-11-27replace placeholder versionBoxy-26/+26
2024-11-26Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '...Gabriel Bjørnager Jensen-0/+32
2024-11-16clean up const stability around UB checksRalf Jung-8/+8
2024-11-16stabilize const_ptr_is_nullRalf Jung-6/+8
2024-11-14use `&raw` in `{read, write}_unaligned` documentationcyrgani-8/+6
2024-11-11Generalize `NonNull::from_raw_parts` per ACP362Scott McMurray-1/+1
2024-11-05add const_eval_select macro to reduce redundancyRalf Jung-111/+98
2024-11-03remove const-support for align_offsetRalf Jung-545/+13
2024-11-02get rid of a whole bunch of unnecessary rustc_const_unstable attributesRalf Jung-20/+0
2024-11-02Rollup merge of #132459 - RalfJung:byte_sub_ptr, r=scottmcmGuillaume Gomez-9/+66
2024-11-02Rollup merge of #132451 - RalfJung:less-rustc_allow_const_fn_unstable, r=tgro...Guillaume Gomez-1/+0
2024-11-01offset_from / sub_ptr docs: emphasize that pointers must be in the same alloc...Ralf Jung-12/+12
2024-11-01feat(byte_sub_ptr): add ptr::byte_sub_ptrAria Beingessner-0/+57
2024-11-01unchecked_shifts, unchecked_neg are safe-to-const-expose-on-stable, so we can...Ralf Jung-3/+3
2024-11-01remove some unnecessary rustc_allow_const_fn_unstableRalf Jung-1/+0
2024-10-25Auto merge of #131349 - RalfJung:const-stability-checks, r=compiler-errorsbors-17/+28
2024-10-25Rollup merge of #132137 - RalfJung:behavior, r=NoratriebMatthias Krüger-2/+2
2024-10-25Re-do recursive const stability checksRalf Jung-17/+28
2024-10-25library: consistently use American spelling for 'behavior'Ralf Jung-2/+2
2024-10-24Rollup merge of #131457 - kpreid:fnaddr, r=dtolnayJubilee-6/+34
2024-10-23Rollup merge of #132066 - tifv:ptr-docs-typo, r=AmanieuLeón Orell Valerian Liehr-2/+2
2024-10-23fix a typo in documentation of pointer::sub_ptr()July Tikhonov-2/+2
2024-10-23fix documentation of ptr::dangling() functionJuly Tikhonov-5/+3
2024-10-21move strict provenance lints to new feature gate, remove old feature gatesRalf Jung-5/+2
2024-10-21stabilize Strict Provenance and Exposed ProvenanceRalf Jung-386/+307
2024-10-19zero-sized accesses are fine on null pointersRalf Jung-7/+7
2024-10-16Auto merge of #131792 - matthiaskrgr:rollup-480nwg4, r=matthiaskrgrbors-6/+22
2024-10-16Rollup merge of #130822 - bjoernager:non-null-from-ref, r=dtolnayMatthias Krüger-6/+22
2024-10-15update bootstrap configsJosh Stone-7/+1
2024-10-15replace placeholder versionJosh Stone-30/+27
2024-10-15Rollup merge of #131339 - HeroicKatora:set_ptr_value-documentation, r=Mark-Si...Matthias Krüger-20/+61
2024-10-14Rollup merge of #131384 - saethlin:precondition-tests, r=ibraheemdevMatthias Krüger-10/+17
2024-10-13Fix typo thing->thin referring to pointerAndreas Molzer-2/+2
2024-10-12Stabilize `const_option`Trevor Gross-2/+0