summary refs log tree commit diff
path: root/library/core/src/ptr
AgeCommit message (Expand)AuthorLines
2023-08-21Replace version placeholders with 1.73.0Mark Rousskov-1/+1
2023-08-15Add diagnostic items for `<*const _>::cast` and `<*mut _>::cast_const`Urgau-0/+2
2023-08-10Tell LLVM that the negation in `<*const T>::sub` cannot overflowScott McMurray-5/+24
2023-08-01Add diagnostic items for `<*const _>::cast` and `ptr::from_mut`Urgau-0/+2
2023-07-30Rollup merge of #102198 - lukas-code:nonnull_as_ref, r=AmanieuMatthias Krüger-2/+3
2023-07-20Get `!nonnull` metadata consistently in slice iterators, without needing `ass...Scott McMurray-0/+24
2023-07-12Flip cfg's for bootstrap bumpMark Rousskov-3/+2
2023-07-03Add diagnostic items for `<*mut _>::is_null` and `<*const _>::is_null`Urgau-0/+2
2023-06-20Auto merge of #112320 - compiler-errors:do-not-impl-via-obj, r=lcnrbors-1/+2
2023-06-20Merge attrs, better validationMichael Goulet-2/+2
2023-06-20Add rustc_do_not_implement_via_objectMichael Goulet-0/+1
2023-06-16`#[lang_item]` for `core::ptr::Unique`Neven Villani-0/+2
2023-06-12Revert "Fix intra-doc links from pointer appearing in windows HANDLE type alias"Guillaume Gomez-9/+9
2023-06-09Fix intra-doc links from pointer appearing in windows HANDLE type aliasGuillaume Gomez-9/+9
2023-06-01Auto merge of #111567 - Urgau:uplift_cast_ref_to_mut, r=b-naberbors-0/+2
2023-05-31Add diagnostic items for `ptr::cast_mut` and `ptr::from_ref` Urgau-0/+2
2023-05-30Bump to latest beta compilerMark Rousskov-29/+3
2023-05-30Swap out CURRENT_RUSTC_VERSION to 1.71.0Mark Rousskov-6/+6
2023-05-23const stabilize `NonNull::as_ref`Lukas Markeffsky-2/+3
2023-05-21drop_in_place docs: remove pseudocode-ish implementation detailsErik Desjardins-15/+1
2023-05-20improve drop_in_place docsErik Desjardins-4/+6
2023-05-20Add missing "unsafe" to fix doctestPatrick Walton-1/+1
2023-05-20Update documentation for `drop_in_place()`Patrick Walton-6/+24
2023-05-10Simplify the implementation of iterators over slices of ZSTsScott McMurray-0/+13
2023-05-05Stabilize const_ptr_readbors-6/+8
2023-05-05`assume` the runtime range of `align_offset`Scott McMurray-4/+10
2023-04-30Codegen fewer instructions in `mem::replace`Scott McMurray-9/+8
2023-04-28handle cfg(bootstrap)Pietro Albini-207/+36
2023-04-28replace version placeholdersPietro Albini-1/+1
2023-04-27Also use `mir::Offset` for pointer `add`Scott McMurray-3/+29
2023-04-26Rollup merge of #110419 - jsoref:spelling-library, r=jyn514Matthias Krüger-3/+3
2023-04-26Spelling library/Josh Soref-3/+3
2023-04-19Auto merge of #110393 - fee1-dead-contrib:rm-const-traits, r=oli-obkbors-34/+30
2023-04-17typoskadiwa-6/+6
2023-04-16core is now compilableDeadbeef-8/+8
2023-04-16more hacksDeadbeef-1/+6
2023-04-16rm const traits in libcoreDeadbeef-25/+16
2023-04-12Make rust-intrinsic ABI unwindableGary Guo-0/+1
2023-03-28Auto merge of #108080 - oli-obk:FnPtr-trait, r=lcnrbors-106/+161
2023-03-27Use the FnPtr trait to avoid implementing common traits via macrosOli Scherer-106/+161
2023-03-27Rollup merge of #97506 - JohnTitor:stabilize-nonnull-slice-from-raw-parts, r=...Matthias Krüger-8/+5
2023-03-14Improved implementation and comments after code review feedbackScott McMurray-3/+5
2023-03-12Add a better approach comment in `ptr::read` to justify the intrinsicScott McMurray-11/+32
2023-03-11`MaybeUninit::assume_init_read` should have `noundef` load metadataScott McMurray-6/+14
2023-03-10Rollup merge of #108964 - majaha:ptr_metadata_doc, r=workingjubileeMatthias Krüger-4/+4
2023-03-10Fix docs for ptr method with_metadata_of()Matt Harding-4/+4
2023-03-09Make ptr::from_ref and ptr::from_mut in #106116 const.Raekye-2/+2
2023-03-03Match unmatched backticks in library/est31-1/+1
2023-02-14"Basic usage" is redundant for there is just one exampleTshepang Mbambo-42/+0
2023-01-23`sub_ptr()` is equivalent to `usize::try_from().unwrap_unchecked()`, not `usi...Chayim Refael Friedman-2/+2