Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork14.5k
Comments
Arbitrary self types v2: (unused) Receiver trait#132144
Merged
bors merged 1 commit intorust-lang:masterfromNov 12, 2024
Merged
Arbitrary self types v2: (unused) Receiver trait#132144bors merged 1 commit intorust-lang:masterfrom
bors merged 1 commit intorust-lang:masterfrom
Conversation
This commit contains a new Receiver trait, which is the basis for theArbitrary Self Types v2 RFC. This allows smart pointers to be methodreceivers even if they're not Deref.This is currently unused by the compiler - a subsequent PR will start touse this for method resolution if the arbitrary_self_types feature gateis enabled. This is being landed first simply to make reviewsimpler: if people feel this should all be in an atomic PR let me know.This is a part of the arbitrary self types v2 project,rust-lang/rfcs#3519rust-lang#44874r?@wesleywiser
ContributorAuthor
adetaylor commentedOct 25, 2024
@rustbot label +S-waiting-on-author -S-waiting-on-review |
18 tasks
ContributorAuthor
adetaylor commentedOct 25, 2024
@rustbot label -S-waiting-on-author +S-waiting-on-review |
ContributorAuthor
adetaylor commentedNov 9, 2024
@wesleywiser, thanks for triggering the crater run on the previous PR. There areonly two crates broken by the removal of the |
wesleywiser approved these changesNov 11, 2024
Member
wesleywiser left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Changes look good. I don't think this needs a signoff from T-libs for the same reasons as mentioned in#130225 (comment) by T-libs member. I will just cc @rust-lang/libs in case I'm totally off-base here.
Member
wesleywiser commentedNov 11, 2024
@bors r+ |
Collaborator
bors commentedNov 11, 2024
bors added a commit to rust-lang-ci/rust that referenced this pull requestNov 11, 2024
…iaskrgrRollup of 7 pull requestsSuccessful merges: -rust-lang#120077 (Add Set entry API ) -rust-lang#132144 (Arbitrary self types v2: (unused) Receiver trait) -rust-lang#132297 (Document some `check_expr` methods, and other misc `hir_typeck` tweaks) -rust-lang#132820 (Add a default implementation for CodegenBackend::link) -rust-lang#132881 (triagebot: Autolabel rustdoc book) -rust-lang#132912 (Simplify some places that deal with generic parameter defaults) -rust-lang#132916 (Unvacation fmease)r? `@ghost``@rustbot` modify labels: rollup
bors added a commit to rust-lang-ci/rust that referenced this pull requestNov 12, 2024
…iaskrgrRollup of 7 pull requestsSuccessful merges: -rust-lang#120077 (Add Set entry API ) -rust-lang#132144 (Arbitrary self types v2: (unused) Receiver trait) -rust-lang#132297 (Document some `check_expr` methods, and other misc `hir_typeck` tweaks) -rust-lang#132820 (Add a default implementation for CodegenBackend::link) -rust-lang#132881 (triagebot: Autolabel rustdoc book) -rust-lang#132912 (Simplify some places that deal with generic parameter defaults) -rust-lang#132916 (Unvacation fmease)r? `@ghost``@rustbot` modify labels: rollup
rust-timer added a commit to rust-lang-ci/rust that referenced this pull requestNov 12, 2024
Rollup merge ofrust-lang#132144 - adetaylor:receiver-trait-itself, r=wesleywiserArbitrary self types v2: (unused) Receiver traitThis commit contains a new `Receiver` trait, which is the basis for the Arbitrary Self Types v2 RFC. This allows smart pointers to be method receivers even if they're not Deref.This is currently unused by the compiler - a subsequent PR will start to use this for method resolution if the `arbitrary_self_types` feature gate is enabled. This is being landed first simply to make review simpler: if people feel this should all be in an atomic PR let me know.This is a part of the arbitrary self types v2 project,rust-lang/rfcs#3519rust-lang#44874r? `@wesleywiser`
celinval added a commit to celinval/rust-dev that referenced this pull requestNov 29, 2024
78fc550 Auto merge ofrust-lang#133247 - GuillaumeGomez:reduce-integer-display-impl, r=workingjubileedb5c2c6 Rollup merge ofrust-lang#132982 - suaviloquence:2-doc-changed-alloc-methods, r=Mark-Simulacrum117ad4f Rollup merge ofrust-lang#132533 - SUPERCILEX:patch-4, r=Mark-Simulacrume2aa7c1 fix `Allocator` method names in `alloc` free function docs6b141ee Rollup merge ofrust-lang#133298 - n0toose:remove-dir-all-but-not-paths, r=Noratriebe3691db Rollup merge ofrust-lang#133260 - compiler-errors:deref, r=fee1-dead895f290 Rollup merge ofrust-lang#132730 - joboet:after_main_sync, r=Noratrieb6ffa455 Rollup merge ofrust-lang#133389 - eduardosm:stabilize-const_float_methods, r=RalfJungf413935 Rollup merge ofrust-lang#133301 - GuillaumeGomez:add-example-wrapping-neg, r=workingjubilee6112cfd Auto merge ofrust-lang#132611 - compiler-errors:async-prelude, r=ibraheemdev23a5a0e Auto merge ofrust-lang#132597 - lukas-code:btree-plug-leak, r=jhprattf0b0942 Constify Deref and DerefMutd05e8e8 Auto merge ofrust-lang#133379 - jieyouxu:rollup-00jxo71, r=jieyouxu641c1ae Stabilize `const_float_methods`256c54d Auto merge ofrust-lang#133377 - jieyouxu:rollup-n536hzq, r=jieyouxudff533f Improve code by using `unsigned_abs`a850f7c Rollup merge ofrust-lang#133237 - fee1-dead-contrib:constadd, r=compiler-errors99741dd Rollup merge ofrust-lang#133332 - bjoernager:const-array-as-mut-slice, r=jhpratt9a152e2 Rollup merge ofrust-lang#131505 - madsmtm:darwin_user_temp_dir, r=dtolnaya12c838 Auto merge ofrust-lang#132994 - clubby789:cc-bisect, r=Kobzol6548ad8 Auto merge ofrust-lang#133360 - compiler-errors:rollup-a2o38tq, r=compiler-errorsa4f797e Rollup merge ofrust-lang#133264 - lolbinarycat:os-string-truncate, r=joboeta939801 Auto merge ofrust-lang#132329 - compiler-errors:fn-and-destruct, r=lcnr30aa6db Add code example for `wrapping_neg` method for signed integersbc77567 Deduplicate checking drop terminator6f3ec5c Gate const drop behind const_destruct feature, and fix const_precise_live_drops post-drop-elaboration checkfb6f0c2 Auto merge ofrust-lang#133339 - jieyouxu:rollup-gav0nvr, r=jieyouxuc792ef3 Rollup merge ofrust-lang#133337 - ColinFinck:thread-scoped-fix-typo, r=joboetcfed1c6 Rollup merge ofrust-lang#133330 - RalfJung:close, r=the8472e26edf0 Rollup merge ofrust-lang#133313 - thesummer:fix-arc4random, r=cuviper90a85ef Rollup merge ofrust-lang#133288 - bjoernager:const-array-each-ref, r=jhpratt4e6f154 Rollup merge ofrust-lang#133238 - heiher:loong-stdarch-rexport, r=Amanieu23a1b31 Auto merge ofrust-lang#130867 - michirakara:steps_between, r=dtolnay9693572 Fix typo in `std::thread::Scope::spawn` documentation.b4a5067 Mark '<[T; N]>::as_mut_slice' as 'const';b6b40ef library: update comment around close()6ce7e79 Don't try to use confstr in Miri40d6e2c Auto merge ofrust-lang#129238 - umgefahren:stabilize-ipv6-unique-local, r=dtolnay276c0fc distinguish overflow and unimplemented in Step::steps_between8be952b Use arc4random of libc for RTEMS target4583dde Mention that std::fs::remove_dir_all fails on files4f6ca37 Mark and implement 'each_ref' and 'each_mut' in '[T; N]' as const;ec220b6 constify `Add`3c558bf Rollup merge ofrust-lang#131736 - hoodmane:emscripten-wasm-bigint, r=workingjubilee38d4c11 implement OsString::truncate4fd2c8d Rollup merge ofrust-lang#133226 - compiler-errors:opt-in-pointer-like, r=lcnr3f03a0f Rollup merge ofrust-lang#130800 - bjoernager:const-mut-cursor, r=joshtripletteea7e23 Rollup merge ofrust-lang#129838 - Ayush1325:uefi-process-args, r=joboet8b4995a Make PointerLike opt-in as a traitf74b38a Reduce integer `Display` implementation size2f179d1 Stabilize const_pin_2b2dc297 re-export `is_loongarch_feature_detected`e26c298 Rollup merge ofrust-lang#132732 - gavincrawford:as_ptr_attribute, r=Urgaud6ee9db Rollup merge ofrust-lang#133183 - n0toose:improve-remove-dir-docs, r=joboet40735d3 Rollup merge ofrust-lang#125405 - m-ou-se:thread-add-spawn-hook, r=WaffleLapkin6c20348 Rollup merge ofrust-lang#123947 - zopsicle:vec_deque-Iter-as_slices, r=Amanieu2089cb3 Update doc comments for spawn hook.c02090d Address review comments.79bffa9 Fix tracking issue.3eff64c Add tracking issue.15bac4f Use Send + Sync for spawn hooks.a42af06 Add thread Builder::no_hooks().49ac15b Update thread spawn hooks.2cc4b2e Use add_spawn_hook for libtest's output capturing.24a0765 Add std::thread::add_spawn_hook.50ac725 Correct comments concerning updated dangling pointer lintcdf5486 Auto merge ofrust-lang#133205 - matthiaskrgr:rollup-xhhhp5u, r=matthiaskrgr543667a Rollup merge ofrust-lang#133200 - RalfJung:miri-rwlock-test, r=tgross357430eb4 ignore an occasionally-failing test in Miri607b493 Rollup merge ofrust-lang#133182 - RalfJung:const-panic-inline, r=tgross35e6cd122 Rollup merge ofrust-lang#132758 - nnethercote:improve-get_key_value-docs, r=cuvipera3c9597 Mention std::fs::remove_dir_all in std::fs::remove_dirbd5c142 Bump `stdarch` to the latest mastere84f865 const_panic: inline in bootstrap builds to avoid f16/f128 crashes05fecb9 std: allow after-main use of synchronization primitivesc1beb25 Auto merge ofrust-lang#133160 - jhpratt:rollup-wzj9q15, r=jhprattce80c9f Rollup merge ofrust-lang#133145 - kornelski:static-mutex, r=traviscrossf385ac2 Auto merge ofrust-lang#128219 - connortsui20:rwlock-downgrade, r=tgross3586151ab rename rustc_const_stable_intrinsic -> rustc_intrinsic_const_stable_indirecta33f889 Improve `{BTreeMap,HashMap}::get_key_value` docs.15e6fc0 Document alternatives to `static mut`1cd1dd7 Auto merge ofrust-lang#120370 - x17jiri:likely_unlikely_fix, r=saethline475f40 Likely unlikely fixddcabfe Rollup merge ofrust-lang#133126 - ohno418:fix-String-doc, r=jhpratte4eff6a Rollup merge ofrust-lang#133116 - RalfJung:const-null-ptr, r=dtolnay16e6d20 alloc: fix `String`'s doce4fb962 clean up const stability around UB checksee78601 stabilize const_ptr_is_null1e4a9ee Rollup merge ofrust-lang#132449 - RalfJung:is_val_statically_known, r=compiler-errors1dfe94c Rollup merge ofrust-lang#131717 - tgross35:stabilize-const_atomic_from_ptr, r=RalfJung70326e8 reduce threads in downgrade testd58e4f2 fix `DOWNGRADED` bit unpreserved5d68316 fix memory ordering bug + bad test0604b8f add safety comments for queue implementation00255e6 add `downgrade` to `queue` implementation40256c6 modify queue implementation documentationf804164 add `downgrade` to `futex` implementation572aded add simple `downgrade` implementations48bcf09 add `downgrade` method onto `RwLockWriteGuard`5416aef add `RwLock` `downgrade` tests4010980 Rollup merge ofrust-lang#133050 - tgross35:inline-f16-f128, r=saethlin2ee4159 Rollup merge ofrust-lang#133048 - cyrgani:ptr-doc-update, r=Amanieue1448de Rollup merge ofrust-lang#133019 - sorairolake:add-missing-period-and-colon, r=tgross35b1d31d2 Rollup merge ofrust-lang#132984 - sunshowers:pipe2, r=tgross358cef1ef Rollup merge ofrust-lang#132977 - cberner:fix_solaris, r=tgross35daa9c43 Rollup merge ofrust-lang#132790 - aDotInTheVoid:ioslice-asslice-rides-again, r=cuvipercdb5ff5 Pass `f16` and `f128` by value in `const_assert!`60ef479 use `&raw` in `{read, write}_unaligned` documentationd2983ff Auto merge ofrust-lang#132709 - programmerjake:optimize-charto_digit, r=joshtriplett918cc8d Rollup merge ofrust-lang#133027 - no1wudi:master, r=jhpratt25f5512 Auto merge ofrust-lang#133026 - workingjubilee:rollup-q8ig6ah, r=workingjubileed8de2cc Fix a copy-paste issue in the NuttX raw type definitionc06bb34 Rollup merge ofrust-lang#133008 - onur-ozkan:update-outdated-comment, r=jieyouxu8eaea39 Rollup merge ofrust-lang#133004 - cuviper:unrecover-btree, r=ibraheemdev81a191a Rollup merge ofrust-lang#133003 - zachs18:clonetouninit-dyn-compat-u8, r=dtolnaye3e5e35 Rollup merge ofrust-lang#132907 - BLANKatGITHUB:intrinsic, r=saethlinf57853b Rollup merge ofrust-lang#131304 - RalfJung:float-core, r=tgross357bc0436 Auto merge ofrust-lang#122770 - iximeow:ixi/int-formatting-optimization, r=workingjubileece2e318 docs: Fix missing colon in methods for primitive types1870e92 docs: Fix missing period in methods for integer types6439774 Auto merge ofrust-lang#133006 - matthiaskrgr:rollup-dz6oiq5, r=matthiaskrgr98dad0b update outdated comment about test-float-parse520d4fd Rollup merge ofrust-lang#126046 - davidzeng0:mixed_integer_ops_unsigned_sub, r=Amanieue3c425b Auto merge ofrust-lang#132662 - RalfJung:const-panic-inlining, r=tgross35c4b77cf Update core CloneToUninit testsd4e21f5 btree: simplify the backdoor between set and map5d61cf9 Bump `cc`44f376b Fix compilation error on Solaris due to flock usage75609d6 Auto merge ofrust-lang#132556 - clubby789:cargo-update, r=Mark-Simulacrum5ba28a4 Run `cargo update` and update licenses0820004 const_panic: don't wrap it in a separate functiond30e2c0 [illumos] use pipe2 to create anonymous pipes7e12686 Auto merge ofrust-lang#132883 - LaihoE:vectorized_is_sorted, r=thomcc02e32d7 Auto merge ofrust-lang#132972 - matthiaskrgr:rollup-456osr7, r=matthiaskrgr157eb1c Rollup merge ofrust-lang#132970 - tyilo:nonzero-u-div-ceil-issue, r=tgross3503e52a5 Rollup merge ofrust-lang#132966 - RalfJung:const_option_ext, r=jhpratt2f615a1 Rollup merge ofrust-lang#132948 - RalfJung:const_unicode_case_lookup, r=Noratriebf00e091 Rollup merge ofrust-lang#132851 - chansuke:update-comment, r=thomcc6560098 Auto merge ofrust-lang#132870 - Noratrieb:inline-int-parsing, r=tgross35a0c0c40 Add tracking issue number to unsigned_nonzero_div_ceil featurec229666 Make `CloneToUninit` dyn-compatible6ab50dd stabilize const_option_ext27fe6c7 Rollup merge ofrust-lang#132541 - RalfJung:const-stable-extern-crate, r=compiler-errors7fafe99 stabilize const_unicode_case_lookupc5ed625 Stabilize `Ipv6Addr::is_unique_local` and `Ipv6Addr::is_unicast_link_local`e0452c9 adds new declaration to codegen33fa870 Auto merge ofrust-lang#132943 - matthiaskrgr:rollup-164l3ej, r=matthiaskrgr7f12f02 Rollup merge ofrust-lang#132914 - rcorre:cell-grammar, r=tgross35300a266 Rollup merge ofrust-lang#132895 - scottmcm:generalize-nonnull-from-raw-parts, r=ibraheemdeva461cf9 remove no-longer-needed abs_private170e993 allow rustc_private feature in force-unstable-if-unmarked crates4a20245 Rollup merge ofrust-lang#132929 - cuviper:check-alloc_zeroed, r=tgross35992bbf7 Rollup merge ofrust-lang#132869 - lolbinarycat:library-fix-too_long_first_doc_paragraph, r=tgross35e3925fa Rollup merge ofrust-lang#132847 - RalfJung:addr-dont-expose, r=Mark-Simulacrum327a0d7 Auto merge ofrust-lang#132919 - matthiaskrgr:rollup-ogghyvp, r=matthiaskrgr67c3c9f Check for null in the `alloc_zeroed` example068537a new intrinsic declarationb689951 new intrinsic declaration16fa12e Rollup merge ofrust-lang#132144 - adetaylor:receiver-trait-itself, r=wesleywiser54f699d Rollup merge ofrust-lang#120077 - SUPERCILEX:set-entry, r=Amanieue541a4f Update dangling pointer tests7707584 Tag relevant functions with #[rustc_as_ptr] attributeb541c5a Auto merge ofrust-lang#132902 - matthiaskrgr:rollup-43qgg3t, r=matthiaskrgr2d676d4 Update grammar in std::cell docs.7325f33 Emscripten: link with -sWASM_BIGINT1c482c9 Rollup merge ofrust-lang#130999 - cberner:flock_pr, r=joboet4dd2270 Auto merge ofrust-lang#127589 - notriddle:notriddle/search-sem-3, r=GuillaumeGomez0af64b6 Generalize `NonNull::from_raw_parts` per ACP3622fd9ac4 vectorize slice::is_sorted737521c `#[inline]` integer parsing functionsb9be1dd split up the first paragraph of doc comments for better summariesf9063ff Update the doc comment of `ASCII_CASE_MASK`57c7b80 elem_offset / subslice_range: use addr() instead of 'as usize'd19aa69 Rollup merge ofrust-lang#132136 - RalfJung:target-feature-abi-compat, r=Mark-Simulacrum6b0bd5a honor rustc_const_stable_indirect in non-staged_api crate with -Zforce-unstable-if-unmarked070baf4 Add as_slice/into_slice for IoSlice/IoSliceMut.978a553 Rollup merge ofrust-lang#132778 - lolbinarycat:io-Error-into_inner-docs, r=cuviper6d54bfe update io::Error::into_inner to acknowlage io::Error::other7c0a90c Address review commentsac66068 Update library/std/src/sys/pal/windows/fs.rsd90f866 Auto merge ofrust-lang#132717 - RalfJung:rustc_safe_intrinsic, r=compiler-errorsf2bf9e6 remove support for rustc_safe_intrinsic attribute; use rustc_intrinsic functions instead2391b4b Rollup merge ofrust-lang#132738 - cuviper:channel-heap-init, r=ibraheemdev086cfef mark is_val_statically_known intrinsic as stably const-callabledffc5e7 Rollup merge ofrust-lang#132696 - fortanix:raoul/rte-235-fix_fmodl_missing_symbol_issue, r=tgross35f14fc56 Rollup merge ofrust-lang#132639 - RalfJung:intrinsics, r=workingjubilee,Amanieu6d63012 Initialize channel `Block`s directly on the heap7ff251b core: move intrinsics.rs into intrinsics folder6244f48 Auto merge ofrust-lang#132714 - mati865:update-memchr, r=tgross35a2eaef7 Rollup merge ofrust-lang#132715 - tabokie:fix-lazy-lock-doc, r=Noratrieb6a77b21 Rollup merge ofrust-lang#132665 - tyilo:nonzero-u-div-ceil, r=joboet79d2063 Separate f128 `%` operation to deal with missing `fmodl` symbol8022523 Auto merge ofrust-lang#132705 - kornelski:inline-repeat, r=tgross35df9f5db fix lazylock comment7a82eb5 Auto merge ofrust-lang#131888 - ChrisDenton:deopt, r=ibraheemdev75b9ce3 unpin and update memchr4d1c7d9 optimize char::to_digit and assert radix is at least 295bff3e Inline str::repeat52c2a45 Rollup merge ofrust-lang#132617 - uellenberg:fix-rendered-doc, r=cuviper28f7e7b Auto merge ofrust-lang#131721 - okaneco:const_eq_ignore_ascii_case, r=m-ou-se41b7e5f Auto merge ofrust-lang#132500 - RalfJung:char-is-whitespace-const, r=jhpratt4ed08bd Add new unstable feature `const_eq_ignore_ascii_case`f4e9fe4 Auto merge ofrust-lang#132664 - matthiaskrgr:rollup-i27nr7i, r=matthiaskrgrafc66fe Change some code blocks to quotes in rendered std doc2e63cbd Rollup merge ofrust-lang#131261 - clarfonthey:unsafe-cell-from-mut, r=m-ou-seab6f663 Auto merge ofrust-lang#132661 - matthiaskrgr:rollup-npytbl6, r=matthiaskrgr8b165db Implement div_ceil for NonZero<unsigned>6bc1b1b Rollup merge ofrust-lang#132571 - RalfJung:const_eval_select_macro, r=oli-obkc12f4d1 Rollup merge ofrust-lang#132473 - ZhekaS:core_fmt_radix_no_panic, r=joboetbbb9275 Rollup merge ofrust-lang#132153 - bjoernager:const-char-encode-utf16, r=dtolnay919de70 add const_eval_select macro to reduce redundancy538f5b4 Rollup merge ofrust-lang#132609 - NotWearingPants:patch-1, r=Amanieu86c6f27 Rollup merge ofrust-lang#132606 - eduardosm:char-slice-str-pattern-doc, r=tgross354660d7e most const intrinsics don't need an explicit rustc_const_unstable any more8eb30fe add new rustc_const_stable_intrinsic attribute for const-stable intrinsics792d164 convert all const-callable intrinsics into the new form (without extern block)fad7d68 docs: fix grammar in doc comment at unix/process.rs92bb779 Improve example of `impl Pattern for &[char]`553bb18 Add AsyncFn* to to the prelude in all editions2ae24bf Fixed typo, rebased47f60d7 Updated SAFETY comment to address underflow581aa8d Replace checked slice indexing by unchecked to support panic-free codec5a0f6c Rollup merge ofrust-lang#132579 - RalfJung:rustc-std-workspace-crates, r=Amanieu9cdbf39 btree: don't leak value if destructor of key panics4caff13 Stabilise 'const_char_encode_utf16';84fae7e Auto merge ofrust-lang#132586 - workingjubilee:rollup-qrmn49a, r=workingjubilee95b4127 update rustc-std-workspace crates082b98d Rollup merge ofrust-lang#132423 - RalfJung:const-eval-align-offset, r=dtolnay3b40634 Auto merge ofrust-lang#132434 - tgross35:f128-tests, r=workingjubilee5dea8b2 Enable `f128` tests on all non-buggy platforms 🎉2bb8ea3 Auto merge ofrust-lang#132581 - workingjubilee:rollup-4wj318p, r=workingjubilee83bd286 Update `compiler_builtins` to 0.1.138 and pin it699702f Rollup merge ofrust-lang#132563 - frectonz:master, r=Amanieu4390c35 Auto merge ofrust-lang#123723 - madsmtm:apple-std-os, r=dtolnay1e8ed90 Auto merge ofrust-lang#132479 - compiler-errors:fx-feat-yeet, r=fee1-dead9a3b7c0 Rename the FIXMEs, remove a few that dont matter anymoreed4f110 Auto merge ofrust-lang#132542 - RalfJung:const_panic, r=tgross35d8bca01 remove const-support for align_offset76b866c Modify `NonZero` documentation to reference the underlying integer type9e57964 Rollup merge ofrust-lang#132511 - RalfJung:const_arguments_as_str, r=dtolnaybfeeb74 Rollup merge ofrust-lang#132503 - RalfJung:const-hash-map, r=Amanieua42fc21 Rollup merge ofrust-lang#132499 - RalfJung:unicode_data.rs, r=tgross350278cab Rollup merge ofrust-lang#132393 - zedddie16:issue-131865-fix, r=tgross35714115a Rollup merge ofrust-lang#131377 - rick-de-water:nonzero-exp, r=dtolnay9789c54 Rollup merge ofrust-lang#129329 - eduardosm:rc-from-mut-slice, r=dtolnayff9178b add const_panic macro to make it easier to fall back to non-formatting panic in const9ef483b stabilize const_arguments_as_str4c6593f Auto merge ofrust-lang#132458 - RalfJung:rustc-const-unstable, r=Amanieu81b20e0 Rustdoc: added brief colon explanation73d9f4d Add Set entry APIe883a60 Add BorrowedBuf::into_filled{,_mut} methods to allow returning buffer with original lifetime261c5b9 remove const_hash feature leftoversd515da6 const_with_hasher test: actually construct a usable HashMap11dc6c3 make char::is_whitespace unstably const1a481fd unicode_data.rs: show command for generating file3a5b026 get rid of a whole bunch of unnecessary rustc_const_unstable attributes2e24b7f remove no-longer-needed attributeffbcba0 add missing safety comments768d0cd adjust test gating for f16/f1286335056 float types: move copysign, abs, signum to libcorec353337 rustdoc-search: simplify rules for generics and type params9d10ab7 Implement `From<&mut {slice}>` for `Box/Rc/Arc<{slice}>`34329c0 Stabilize `const_atomic_from_ptr`a2e1edf Arbitrary self types v2: (unused) Receiver trait2d26681 ABI compatibility: remove section on target featuresf1c9904 Support lock() and lock_shared() on async IO Files7f6af4d Revert using `HEAP` static in Windows alloc541bda1 Implement file_lock featured7a7b0a uefi: process: Add args support14aef3d Use with_capacity(0) because we're reading the capacity later on5b16abe Prefer `target_vendor = "apple"` on confstrbc63981 use `confstr(_CS_DARWIN_USER_TEMP_DIR, ...)` as a `TMPDIR` fallback on darwinf8dc879 Add LowerExp and UpperExp implementations50afc52 Stabilize UnsafeCell::from_mutaa74e93 Mark 'get_mut' and 'set_position' in 'std::io::Cursor' as const;c370665 Make `std::os::darwin` public797c249 Implement `mixed_integer_ops_unsigned_sub`ff1212e Add vec_deque::Iter::as_slices and friendse938dea try adding a test that LowerHex and friends don't panic, but it doesn't workc6d2bb7 improve codegen of fmt_num to delete unreachable panicgit-subtree-dir: librarygit-subtree-split:78fc550
tautschnig added a commit to tautschnig/verify-rust-std that referenced this pull requestJan 17, 2025
b102eb97611 Rollup merge of #135003 - RalfJung:deprecate-allowed-through-unstable, r=davidtwco09ccac89813 Rollup merge of #132654 - joboet:lazy_main, r=ChrisDenton9a5f11b6bdc Auto merge of #135525 - jhpratt:rollup-4gu2wpm, r=jhpratt808a28bb2e5 Rollup merge of #134678 - zachs18:offset-ptr-update, r=tgross35038b55923da Rollup merge of #134338 - tgross35:overflowing-c-safe-ret, r=bjorn3,antoyoafb7906d983 Rollup merge of #134143 - nyurik:err-nul, r=dtolnay09f7f735638 intrinsics: deprecate calling them via the unstable std::intrinsics pathb1bab8efb30 Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`.6b3eb0e11bc Update compiler-builtins to 0.1.143c26fde2487d Rollup merge of #135423 - compiler-errors:enforce-const-trait-syntactical, r=oli-obk,RalfJungd4e61054fa0 Enforce syntactical stability of const traits in HIR8cba3108c65 Update compiler-builtins to 0.1.14172304171451 add comments explaining main thread identificationde1528ca1d5 std: lazily allocate the main thread handle7d65632251e Revert "Remove the Arc rt::init allocation for thread info"1938ccffee3 Auto merge of #135473 - matthiaskrgr:rollup-ksnst4l, r=matthiaskrgre57af4cc513 Rollup merge of #135381 - cod10129:vec-splice-doc, r=tgross354b1f813eb19 Auto merge of #135359 - RalfJung:lang-start-unwind, r=joboet3a1522edb09 Auto merge of #135465 - jhpratt:rollup-7p93bct, r=jhprattd68853badd5 Rollup merge of #135393 - Ayush1325:uefi-helper-path, r=thomcc2583e5e939e Add another `Vec::splice` examplee53c5c9c5db uefi: helpers: Introduce OwnedDevicePathf17b1628cec Rollup merge of #135405 - Ayush1325:path-is-absolute, r=tgross3541ac367ffc7 path: Move is_absolute check to sys::path44a9def9f39 Auto merge of #135420 - GuillaumeGomez:rollup-93vepka, r=GuillaumeGomez242154d7a56 Auto merge of #135384 - saethlin:inline-copy-from-slice, r=joboetd76bc765c20 Update the explanation for why we use box_new in vec!a8314e3425d Auto merge of #135402 - matthiaskrgr:rollup-cz7hs13, r=matthiaskrgr736f71506f1 Rollup merge of #135379 - steffahn:uniquerc-invariant, r=Mark-Simulacrumf1fd86b54fa Add inherent versions of MaybeUninit methods for slices50cffd12adb Add #[inline] to copy_from_slice221253c726d Auto merge of #135360 - RalfJung:structural-partial-eq, r=compiler-errors8853a8d51d2 Make UniqueRc invariant for soundness5c997f2acdc avoid nesting the user-defined main so deeply on the stack1f09d97cbf0 use a single large catch_unwind in lang_start3093827de07 update and clarify StructuralPartialEq docse2f8a108b9a Rename `pos` to `position`c6dff32f287 Convert `struct FromBytesWithNulError` into enume47fc56aa4a Rollup merge of #135347 - samueltardieu:push-qvyxtxsqyxyr, r=jhprattd8923fc714a Rollup merge of #135324 - Ayush1325:uefi-fs-unsupported, r=joboet9709d9bad5d Rollup merge of #135236 - scottmcm:more-mcp807-library-updates, r=ChrisDenton849afc40e34 Improve the safety documentation on new_unchecked2add857ca03 Use `NonNull::without_provenance` within the standard library2764b7e14ab alloc: remove unsound `IsZero` for raw pointersc577821efe2 Rollup merge of #134693 - SpriteOvO:proc-macro-use-to-tokens-in-quote, r=tgross357dbc3bcab16 Rollup merge of #132607 - YohDeadfall:pthread-name-fn-with-result, r=tgross35ab71837c330 Update a bunch of library types for MCP8074052574937d Initial fs module for uefi946c19e04cb Rollup merge of #134908 - madsmtm:ptr-from_ref-docs, r=ibraheemdev01372432cbb Rollup merge of #134619 - hkBst:patch-7, r=jhprattc22148b767f Fix `proc_macro::quote!` for raw identc421c1a946a Append `TokenTree` with `ToTokens` in `proc_macro::quote!`c283b86cc76 Used pthread name functions returning result for FreeBSD and DragonFly668cb10cba5 Auto merge of #135268 - pietroalbini:pa-bump-stage0, r=Mark-Simulacrumf3f0119335a Rollup merge of #135269 - estebank:unneeded-into, r=compiler-errorsd7dd4a6bc58 Rollup merge of #135242 - RalfJung:nonnull-provenance, r=jhpratta34edcbbb60 Remove some unnecessary `.into()` calls661c077ae5b fmt9d29620a31a update cfg(bootstrap)60fa1562951 update version placeholdersc0e33bf31ca add missing provenance APIs on NonNull830ee4bb4d6 Rollup merge of #135176 - kornelski:env-example, r=cuviper790735e2a6d Rollup merge of #134389 - rust-wasi-web:condvar-no-threads, r=m-ou-seb3fa835baa8 Rollup merge of #133057 - tisonkun:into-chars, r=Amanieu3987eb22905 Avoid naming variables `str`7c71ffcfa97 Rollup merge of #135139 - c410-f3r:8-years-rfc, r=jhpratt6536ec2d9b0 Rollup merge of #131830 - hoodmane:emscripten-wasm-eh, r=workingjubileee44be94c9eb More compelling env_clear() examples5db91e58005 Rollup merge of #135153 - crystalstall:master, r=workingjubileecb8cf0fa5d0 Add support for wasm exception handling to Emscripten targeta1da07b21df chore: remove redundant words in commentb2b55f6bdae Rollup merge of #135111 - tgross35:float-doc-aliases, r=Noratrieb0bd45849186 [generic_assert] Constify methods used by the formatting systemc200a189c66 Rollup merge of #135121 - okaneco:const_slice_reverse, r=jhpratte03872bb30a Mark `slice::reverse` unstably const0e581b92097 Clarified the documentation on core::iter::from_fn and core::iter::successors320482169fb Rollup merge of #135110 - matthiaskrgr:adler, r=workingjubileee7ca1049aa7 Rollup merge of #135104 - the8472:disable-in-place-iter-for-flatten, r=Mark-Simulacrum8ffc4e84463 Rollup merge of #134996 - bdbai:uwp-support, r=jieyouxu,ChrisDentonfee42729979 Add doc aliases for `libm` and IEEE namesf4b33a3e46f library: fix adler{-> 2}.debug2e05379f866 add regression test for unsound Flatten/FlatMap specialization9467350f844 do not in-place-iterate over flatmap/flatten6346a915b55 Rollup merge of #135091 - workingjubilee:backtrace-0.3.75, r=workingjubilee3ef2891d388 Rollup merge of #135070 - klensy:backtrace-deps, r=workingjubilee24366d36dce Rollup merge of #135046 - RalfJung:rustc_box_intrinsic, r=compiler-errors307f559c6c4 Rollup merge of #133964 - joboet:select_unpredictable, r=tgross350b2fd26bdc8 Bump backtrace to 0.3.753d624d66f11 Rollup merge of #133420 - thesummer:rtems-unwind, r=workingjubilee6137ccc52ac sync to actual dep verions of backtrace318269a33f4 turn rustc_box into an intrinsicbd743cec036 Auto merge of #135059 - matthiaskrgr:rollup-0ka9o3h, r=matthiaskrgre74ac082b32 Rollup merge of #134241 - liigo:patch-16, r=dtolnay53e41a6a5a7 Auto merge of #134692 - GrigorenkoPV:sync_poision, r=tgross35366ac34fa96 Fix UWP buildcd6c49f49b5 Bump backtrace to rust-lang/backtrace-rs@4d7906b98ee6c8c68c Auto merge of #122565 - Zoxc:atomic-panic-msg, r=the8472ffaa2184220 path in detailaa0e6e8bd1a Move some things to `std::sync::poison` and reexport them in `std::sync`b8087f526a0 fix doc for missing Box allocator consistency40434b2c26c Auto merge of #135005 - matthiaskrgr:rollup-5ubuitt, r=matthiaskrgr32614550fb9 Rollup merge of #134985 - mgsloan:remove-unnecessary-qualification-in-Ord-trait-docs, r=Noratriebd5f262cc53a Rename the internal simpler `quote` macro to `minimal_quote`6c8e14169a9 Auto merge of #134080 - kleisauke:avoid-lfs64-emscripten, r=Noratrieb33b4b03fe6a Try to write the panic message with a single `write_all` call8795c3547eb std::fs::DirEntry.metadata(): prefer use of lstat() on Emscriptenfb895251bd9 Avoid use of LFS64 symbols on Emscriptened5888769c6 Auto merge of #134969 - Marcondiro:master, r=jhpratt,programmerjakec1b709541e2 Rollup merge of #131439 - mu001999-contrib:cleanup/static-mut, r=estebank847cd898006 Remove qualification of `std::cmp::Ordering` in `Ord` doce38fc1b0843 Auto merge of #132195 - clarfonthey:bigint-mul, r=scottmcm4f7e5a623be Auto merge of #134966 - matthiaskrgr:rollup-lmhmgsv, r=matthiaskrgraff952b674c char to_digit: avoid unnecessary casts to u649e0a6b0a3c4 Rollup merge of #134953 - DiuDiu777:unaligned-doc, r=RalfJungb003e5812c2 Auto merge of #134620 - ChrisDenton:line-writer, r=tgross358b8fd2d5855 Rollup merge of #134930 - RalfJung:ptr-docs-valid-access, r=jhprattd487d12d362 Rollup merge of #134927 - DaniPopes:const-as_flattened_mut, r=scottmcmbfe0d0f6000 fix doc for read write unaligned in zst operation99ca6ca7611 Auto merge of #134757 - RalfJung:const_swap, r=scottmcm316349488dc ptr docs: make it clear that we are talking only about memory accessesb7b6a5d0649 Make slice::as_flattened_mut unstably const0b1d0d95c67 Fix ptr::from_ref documentation example commentf26cc531ab6 Rollup merge of #134884 - calciumbe:patch1, r=jieyouxub7620c7c1d9 Rollup merge of #134870 - geofft:patch-1, r=jhpratt9adc4a11633 fix: typosf5e949debed Rollup merge of #134851 - lukas-code:alloc-ffi, r=tgross35309cb6599b7 Fix sentence fragment in `pin` module docsd086afd99b8 docs: inline `alloc::ffi::c_str` types to `alloc::ffi`15137457840 Auto merge of #134547 - SUPERCILEX:unify-copy, r=thomcc5807d879643 Rollup merge of #134832 - tgross35:update-builtins, r=tgross35c6c4ae7c842 Tidy up bigint mul methodsa9e94810233 Rollup merge of #134823 - chloefeal:fix, r=tgross35,dtolnay0e23de8b41d Update library/alloc/tests/sort/tests.rsc94032f1779 Update `compiler-builtins` to 0.1.140a41400395c5 Rollup merge of #133663 - scottmcm:carrying_mul_add, r=Amanieu764af3bad24 Override `carrying_mul_add` in cg_llvm18ee1da10b9 Move `{widening, carrying}_mul` to an intrinsic with fallback MIR559fdf03383 Fix typosacfeed3d3df Auto merge of #134822 - jieyouxu:rollup-5xuaq82, r=jieyouxu5fb4df97165 Rollup merge of #134819 - ChrisDenton:trunc, r=Mark-Simulacrum68b148643ac Rollup merge of #134622 - ChrisDenton:write-file-utf8, r=Mark-Simulacrum6f23131fac2 Rollup merge of #134606 - RalfJung:ptr-copy-docs, r=Mark-Simulacrume290e70bdc1 Auto merge of #134786 - ChrisDenton:fix-rename-symlink, r=tgross355cf455ff60d Fix renaming symlinks on Windows0a3943e9496 Fix mistake in windows file open051ece2a59c Rollup merge of #134791 - notriddle:notriddle/inline-ffi-error-types, r=tgross353a2ca84c46f Rollup merge of #134789 - betrusted-io:bump-unwinding-to-0.25.0, r=Mark-Simulacrum3cbbd43963e Rollup merge of #134782 - wtlin1228:docs/iter-rposition, r=Mark-Simulacrum1e8a843e7fd Rollup merge of #134728 - deltragon:barrier-doc, r=tgross359b632c12457 Rollup merge of #134649 - SUPERCILEX:statx-remember, r=thomcca9b12533594 Rollup merge of #134644 - kpreid:duplicates, r=Mark-Simulacrum7d72bc6894b Rollup merge of #134379 - bjoernager:slice-as-array, r=dtolnayc988c5c469a docs: inline `core::ffi::c_str` types to `core::ffi`f3a43e876b3 docs: inline `std::ffi::c_str` types to `std::ffi`ef9344328ea unwinding: bump version to fix asmb5a7e1cb2c3 Impl FromIterator for tuples with arity 1-1297a492b242e Fix formatting7bb71817d2d docs: update code example for Iterator#rposition838b01dae5e stabilize const_alloc_layout7c4bb0b875d rename typed_swap → typed_swap_nonoverlapping3d7df0fa2cb stabilize const_swapadefdcb1aaf Auto merge of #134729 - oliveredget:typo, r=jieyouxua76414742c2 Auto merge of #134722 - ChrisDenton:trunc, r=Amanieu7102c61d871 Auto merge of #134333 - daxpedda:stdarch-bump, r=daxpedda781fb68dbba Fix compilation issues on other unixes2b6589fec62 Bump `stdarch`301f4c8ba3f chore: fix typosb3642490a4a Use scoped threads in `std::sync::Barrier` examplesefbda65a57a Windows: Use FILE_ALLOCATION_INFO for truncation0429732714d Rollup merge of #134689 - RalfJung:ptr-swap-test, r=oli-obkf71f75d522a Rollup merge of #134662 - ionicmc-rs:any-safety-docs, r=Amanieu6fc5a515b01 core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type2a7c4107dd3 Rollup merge of #134363 - estebank:derive-default, r=SparrowLii6a41c5bd0cd Rollup merge of #134672 - Zalathar:revert-coverage-attr, r=wesleywiser00523c6df55 Use `#[derive(Default)]` instead of manually implementing it7a6c4cf81d9 Revert "Auto merge of #130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser"1d47e6a5af8 Auto merge of #134666 - matthiaskrgr:rollup-whe0chp, r=matthiaskrgr47eacac789d Auto merge of #131311 - rust-lang:cargo_update, r=clubby78908311d3b105 Rollup merge of #134642 - kpreid:pointerlike-cell, r=compiler-errors49d33b15720 Rollup merge of #134583 - Enselic:maybe-uninit-transmute, r=workingjubileece16d167b68 Rollup merge of #130289 - intgr-forks:Permissions-readonly-vs-unix-root, r=ChrisDenton5ec57233686 Fixes safety docs for `dyn Any + Send {+ Sync}`e31ed41f4ba Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`.736e842fc2a Auto merge of #134330 - scottmcm:no-more-rvalue-len, r=matthewjasper1a45918d751 docs: Permissions.readonly() also ignores root user special permissionse15ef644395 Improve prose around `as_slice` example of IterMutd03b67c2429 Specify only that duplicates are discarded, not the order.e70cbb149f5 Auto merge of #131193 - EFanZh:asserts-vec-len, r=the8472619365dce13 Delete `Rvalue::Len`f913021f500 docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code0233b4ec888 Impl String::into_chars56cc86af99f Rollup merge of #134602 - kpreid:pointerlike-doc, r=tgross359549c0c5306 Fix forgetting to save statx availability on successc50706f5f04 Auto merge of #134640 - matthiaskrgr:rollup-xlstm3o, r=matthiaskrgr42621a94cbe Document collection `From` and `FromIterator` impls that drop duplicate keys.22c6dcd7b19 Rollup merge of #134630 - fifty-six:master, r=workingjubilee9c5420a144f Auto merge of #130733 - okaneco:is_ascii, r=scottmcma5f05c31739 cargo update88936d663d5 Eliminate redundant statx syscallsae80bcc9736 Rollup merge of #134325 - theemathas:is_null-docs, r=RalfJung37803ed66ad Rollup merge of #131072 - Fulgen301:windows-rename-posix-semantics, r=ChrisDenton3edae543ffa Use `&raw` for `ptr` primitive docs9f89bf55fb2 Unify fs::copy and io::copy8f6317d2b8a Windows: Use WriteFile to write to a UTF-8 consoledca1911ca13 Avoid short writes in LineWriter10f58801c5e Document CTFE behavior of methods that call is_null52c70cefc4e Correctly document is_null CTFE behavior.8240334bbea ptr::copy: fix docs for the overlapping case3d7ea928c48 Rollup merge of #134593 - kornelski:less-unwrap, r=jhpratt8d44917bb2b Rollup merge of #134579 - hkBst:patch-6, r=jhprattd1a3570e402 Rollup merge of #134577 - hkBst:patch-5, r=jhpratt797d88a4f6e Rollup merge of #134576 - hkBst:patch-4, r=jhpratt0d4f2977e8f Document `PointerLike` implementation restrictions.39c036dacf9 Less unwrap() in documentation9eacbacb845 Rollup merge of #123604 - michaelvanstraten:proc_thread_attribute_list, r=ChrisDenton605e793d35f Rollup merge of #134573 - lukas-code:unimpl-dyn-pointerlike, r=compiler-errors03b554d4296 Rollup merge of #134570 - hkBst:patch-3, r=joboetcb9fd5abb2d Rollup merge of #134560 - RalfJung:miri-thread-spawn, r=jhpratt8ef4e1708c6 Improve prose around into_slice example of IterMut490893e4337 Improve prose around `as_slice` example of Iter346bb96231a Improve prose around basic examples of Iter and IterMutb2c67187209 remove reference to dangling from slice::Iter8a76ac07549 fix `PointerLike` docsea624faa800 unimplement `PointerLike` for trait objects0348754b8e8 split up `#[rustc_deny_explicit_impl]` attribute83961772930 mri: add track_caller to thread spawning methods for better backtraces47c18d11c25 Rollup merge of #134518 - hltj:typo-fix, r=tgross35a407b54ba53 Rollup merge of #132830 - wr7:substr_range_documentation, r=tgross351e42e55ad7f Rollup merge of #126118 - jan-ferdinand:docs_for_vec_set_len, r=the8472325c2c83a7d fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()`2a30c761db7 build: Update libc versionff8e6c7266c Rollup merge of #134490 - hong9lol:typo, r=jhpratt1ef2006c9ff Rollup merge of #132056 - weiznich:diagnostic_do_not_recommend_final_tests, r=compiler-errors36dec866386 fix typo in ptr/mod.rsba3898d82f3 Auto merge of #134443 - joshtriplett:use-field-init-shorthand, r=lqd,tgross35,nnethercote815119ea508 Rollup merge of #134452 - jalil-salame:fix-lazy-cell-docs, r=tgross35e5a64b47a53 Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc';1e20f65b874 Implement Condvar::wait_timeout for targets without threads0d4be900a97 Auto merge of #134425 - clubby789:cargo-update, r=jieyouxue94636ef1eb fix(LazyCell): documentation of get[_mut] was wrong9552b94e220 Stabilize `#[diagnostic::do_not_recommend]`8f6473ca201 Use field init shorthand where possible4dd1bd84b80 Rollup merge of #134426 - hkBst:patch-3, r=lqd439ea50e256 Rollup merge of #133265 - the8472:extract-if-ranges, r=cuviper5b50e4a613b compiler & tools dependencies: Updating allocator-api2 v0.2.20 -> v0.2.21 Updating annotate-snippets v0.11.4 -> v0.11.5 Updating anyhow v1.0.93 -> v1.0.94 Updating bstr v1.11.0 -> v1.11.1 Updating chrono v0.4.38 -> v0.4.39 Updating clap v4.5.21 -> v4.5.23 Updating clap_builder v4.5.21 -> v4.5.23 Updating clap_complete v4.5.38 -> v4.5.39 Updating clap_lex v0.7.3 -> v0.7.4 Updating colored v2.1.0 -> v2.2.0 Updating console v0.15.8 -> v0.15.10 Updating crossbeam-channel v0.5.13 -> v0.5.14 Updating crossbeam-deque v0.8.5 -> v0.8.6 Updating crossbeam-utils v0.8.20 -> v0.8.21 Updating encode_unicode v0.3.6 -> v1.0.0 Updating fastrand v2.2.0 -> v2.3.0 Updating home v0.5.9 -> v0.5.11 Updating js-sys v0.3.74 -> v0.3.76 Updating libc v0.2.167 -> v0.2.168 Updating miniz_oxide v0.8.0 -> v0.8.1 Updating pest v2.7.14 -> v2.7.15 Updating pest_derive v2.7.14 -> v2.7.15 Updating pest_generator v2.7.14 -> v2.7.15 Updating pest_meta v2.7.14 -> v2.7.15 Updating redox_syscall v0.5.7 -> v0.5.8 Updating rustc-stable-hash v0.1.0 -> v0.1.1 Updating rustix v0.38.41 -> v0.38.42 Updating self_cell v1.0.4 -> v1.1.0 Updating semver v1.0.23 -> v1.0.24 Updating serde v1.0.215 -> v1.0.216 Updating serde_derive v1.0.215 -> v1.0.216 Adding thiserror v2.0.7 Adding thiserror-impl v2.0.7 Updating time v0.3.36 -> v0.3.37 Updating time-macros v0.2.18 -> v0.2.19 Updating tokio v1.41.1 -> v1.42.0 Updating wasm-bindgen v0.2.97 -> v0.2.99 Updating wasm-bindgen-backend v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro-support v0.2.97 -> v0.2.99 Updating wasm-bindgen-shared v0.2.97 -> v0.2.99 Updating wasm-encoder v0.221.0 -> v0.221.2 Updating wasmparser v0.221.0 -> v0.221.2 Updating wast v221.0.0 -> v221.0.2 Updating wat v1.221.0 -> v1.221.2fbac32d2761 Auto merge of #130766 - clarfonthey:stable-coverage-attribute, r=wesleywiserf8d5f2f5031 Fix typo in uint_macros.rs773ce8e12e0 Rollup merge of #134202 - nnethercote:rm-existing_doc_keyword, r=GuillaumeGomez1ea6333e43b Remove `rustc::existing_doc_keyword` lint.879b904eae9 Move `doc(keyword = "while")`.d655fd187d6 Stabilize #[coverage] attribute7adb8ab561b remove obsolete comment and pub(super) visibility71740c5e592 remove bounds from vec and linkedlist ExtractIff5981cec754 Add a range argument to vec.extract_iff0297f13dde Rollup merge of #134277 - notriddle:notriddle/inline-into, r=GuillaumeGomeze88df256c16 Auto merge of #134332 - Zalathar:rollup-oe23hkw, r=Zalathar93329f34b67 Rollup merge of #134310 - tkr-sh:master, r=Noratriebab4f84cae3e Rollup merge of #133406 - EFanZh:lock-value-accessors, r=Noratrieb69756988c15 Rollup merge of #130361 - devnexen:sock_cloexec_solaris, r=cuviper114f5e2c405 Auto merge of #133223 - zachs18:uniquerc-impls, r=Noratriebcd6542897cb Asserts the maximum value that can be returned from `Vec::len`9d2ca9a3477 Auto merge of #134258 - bjorn3:no_public_specialization, r=petrochenkov66b6e751301 Rollup merge of #134022 - shahn:doc_clarify_extend_for_tuple_version, r=tgross353aa32597ed9 Rollup merge of #133986 - olishmollie:tracking-issue-127154-documentation, r=tgross35b35e7babfbf Correct spelling of CURRENT_RUSTC_VERSIONdca96f2d618 Replace i32 by char in `split_at` & `_unchecked`5c0062fd6ba Add clarity to the "greater" of `VecDeque::insert`36d2006d1e1 Replace i32 by char to add clarityf9d5fcf495e Auto merge of #134296 - matthiaskrgr:rollup-o0sxozj, r=matthiaskrgr5416be5795f Add documentation for anonymous pipe modulebd52a6d6b8d Rollup merge of #133942 - BD103:black-box-docs, r=saethlin1d8c71769ac Rollup merge of #134255 - bjoernager:master, r=Noratriebcd53ef86a04 Rollup merge of #134254 - hermit-os:hermit-c_char, r=workingjubileefeb218aac4a Rollup merge of #134252 - hermit-os:hermit-is_absolute, r=tgross3578ef2d597d4 rustdoc-search: let From and Into be unboxedc1f85483921 Rollup merge of #134229 - purplesyringa:provenance-docs, r=saethlind03fb91bd4d Rollup merge of #134140 - compiler-errors:unsafe-binders-ast, r=oli-obkc90e7e3ca98 Remove support for specializing ToString outside the standard library1c55c9fbc60 Auto merge of #134047 - saethlin:inline-fmt-rt, r=m-ou-se12a12d4f161 Update includes in '/library/core/src/error.rs';5a5d80fb80a Fix building `std` for Hermit after `c_char` changebfe81248fa4 Fix `Path::is_absolute` on Hermit5d2388da58b Reword prelude for AsyncFn stabilization9731c019cbe Stabilize async closuresfd9b9cd330a Fix typos in docs on provenance7837903093e feat: clarify how to use `black_box()`0c7c57b9e3c Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators72e40f07dfe Rollup merge of #134179 - zachs18:align_offset_mut_ptr_doc, r=workingjubilee67ef22c7127 Rollup merge of #134178 - ehuss:stabilize-2024-prelude, r=amanieu,traviscross,tgross350834c1f1db0 Rollup merge of #134155 - sthibaul:unsafe_op_in_unsafe_fn, r=tgross3509d16d15513 Rollup merge of #133859 - bjorn3:move_tests_to_alloctests, r=tgross3594ec2233bd0 Rollup merge of #122003 - mati865:gnullvm-build-libunwind, r=petrochenkovfa1541a5660 Stabilize the Rust 2024 prelude6942ce52e34 Auto merge of #134177 - matthiaskrgr:rollup-hgp8q60, r=matthiaskrgr3a1745b09e5 Rollup merge of #133598 - ChayimFriedman2:get-many-mut-detailed-err, r=scottmcm566ea0f3dd8 Rollup merge of #132975 - arichardson:ffi-c-char, r=tgross35ed224f8c25a Remove consteval note from <*mut T>::align_offset docs.197f4744559 Rollup merge of #134079 - tbu-:pr_doc_x8_to_from_xe_bytes, r=jhprattff50c42ded8 Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless809dc2d9649 Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files420c83c0cd8 Rollup merge of #134116 - RalfJung:const_nonnull_new, r=jhprattbb71e111888 Rollup merge of #134100 - eholk:noop-rustc-const-stable, r=dtolnayd846ee80d9e Add references to the specific ABI documentsfaa946af9e7 Remove l4re from the unsigned char operating system listc589942e7af De-duplicate and improve definition of core::ffi::c_charf5dfac33df4 stabilize const_nonnull_newe24f63040e1 Rollup merge of #133472 - rust-wasi-web:master, r=joboet0c9c5edf2d9 Rollup merge of #133456 - clubby789:cargo-update, r=ChrisDenton1079f47e289 Rollup merge of #133184 - osiewicz:wasm-fix-infinite-loop-in-remove-dir-all, r=Noratrieb577c96562be Remove rustc_const_stable attribute on const NOOP7234c4f09e7 Rollup merge of #134032 - snprajwal:fix-docs, r=joboet24e395ad1ab core: use public method instead of instrinsic3a36268f22b core: improve commentsa09c0403f2d Auto merge of #134052 - matthiaskrgr:rollup-puxwqrk, r=matthiaskrgra9c38ee0d29 Rollup merge of #134050 - RalfJung:miri-sync, r=RalfJung6fa0126c89c Rollup merge of #133880 - ChrisDenton:homedir, r=Mark-Simulacrum0e491a9a3b1 Rollup merge of #133789 - rossmacarthur:then-with-doc-alias, r=Mark-Simulacrumed50cd40ea2 Switch inline(always) in core/src/fmt/rt.rs to plain inline886328011ef Downgrade cce9bfb10f867 Rollup merge of #134013 - BLANKatGITHUB:intrinsic, r=saethlin4e0eec33e6f Adds new intrinsic declarationc1d57f82a0e Rollup merge of #133987 - Will-Low:DefineTlsAcronym, r=workingjubilee8f4016eba75 docs: better examples for `std::ops::ControlFlow`a73f6c64a01 Merge from rustcfd6e8d7358e Auto merge of #133978 - matthiaskrgr:rollup-6gh1iho, r=matthiaskrgr069b38123a6 Merge from rustc5852362e5d1 Define acronym for thread local storage70e63e17b2c Auto merge of #118159 - EliasHolzmann:formatting_options, r=m-ou-se3bcad5cb18b Rollup merge of #132187 - shahn:extend_more_tuples, r=dtolnayf761e9c676f Rollup merge of #130254 - GrigorenkoPV:QuotaExceeded, r=dtolnayef4c4ae6b50 Rollup merge of #130209 - GrigorenkoPV:CrossesDevices, r=dtolnay11e4cd165ae Auto merge of #133089 - eholk:stabilize-noop-waker, r=dtolnayaa5fc647d04 core: implement `bool::select_unpredictable`70153836edd Rollup merge of #133790 - HypheX:improve-vec-docs, r=harudagondi,workingjubileeca5965a8639 Merge from rustc706da00d0ff Rollup merge of #133821 - Kobzol:replace-black-with-ruff, r=onur-ozkandebbad652d9 Stabilize noop_wakerfa414d5787d Access members of `FormattingOptions` directly instead of via getters/setters02156e9faf6 Removed constness for methods receiving a `&mut` parametera0526432656 Added better reason for exposing `flags` and `get_flags` as unstable9492becae41 Formatted322c8b766b2 Refactored FormattingOptions to use a bitmask for storing flagsa1b4810cfcf Revert "Turned public+unstable+hidden functions into private functions"8bd8c11c06a Turned public+unstable+hidden functions into private functions177d5fac526 Made all fns constb06f16ba681 impl Default for fmt::FormattingOptions157c4f662e0 Fixed copy+paste error in comment8fe085f1349 fmt::FormattingOptions: Renamed `alignment` to `align`7de3770f6c6 Formatter::with_options: Use different lifetimes3d16495ff6c Fixed another broken test4d3d0470d23 Added struct `fmt::FormattingOptions`29f1b2498b6 Formatter: Access members via getter methods wherever possible7f0a865ead6 Improve documentation4155a213e3e Add libc funcitons only for wasm32-wasip1-threads.a58d30811b5 Fix compilation for wasm32-wasip1 (without threads).2834b3e1213 Rollup merge of #133882 - jyn514:doc-backtraces, r=saethlin37f75ad5a08 Rollup merge of #133844 - RalfJung:simd_relaxed_fma-nondet, r=workingjubileeb89e20d1e5e Rollup merge of #127565 - esp-rs:xtensa-vaargs, r=workingjubilee7af25276b17 Rollup merge of #133863 - oli-obk:push-pystoxvtvssx, r=lqdf4ab4b484fe Rollup merge of #118833 - Urgau:lint_function_pointer_comparisons, r=cjgillotdb3e689077b Improve comments for the default backtrace printer8874ede0208 Expand home_dir docs33345baf830 Reformat Python code with `ruff`6cfe2423972 Rename `core_pattern_type` and `core_pattern_types` lib feature gates to `pattern_type_macro`8d19d7cf046 Move some alloc tests to the alloctests crateb75783a7146 clarify simd_relaxed_fma non-determinism04abf699af3 Rollup merge of #133651 - scottmcm:nonnull-nonzero-no-field-projection, r=oli-obk59c58640a80 Auto merge of #133818 - matthiaskrgr:rollup-iav1wq7, r=matthiaskrgr6bebe1c8423 Rollup merge of #133726 - joshtriplett:breakpoint, r=oli-obk57dbb716624 Rollup merge of #132937 - xmh0511:master, r=m-ou-se1a1fa731d58 Update `NonZero` and `NonNull` to not field-project (per MCP807)8df6841cf41 Rollup merge of #133796 - TDecking:borrowing-sub, r=tgross355248edd2723 Rollup merge of #133762 - RalfJung:const-size-of-val, r=workingjubilee97f98da1fce Rollup merge of #133696 - RalfJung:const-hashmap, r=cuviper592d87fafca Use UNIX thread_local implementation for WASI.0b39639fa39 Update the definition of `borrowing_sub`2f0494f936b Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa.fb668a45993 Add `core::arch::breakpoint` and test1ae06991054 Add doc alias 'then_with' for `then` method on `bool`04e41db91f5 ./x miri: fix sysroot builda351bae8511 Rollup merge of #133395 - calebzulawski:simd_relaxed_fma, r=workingjubilee6dd07606b78 Rollup merge of #133763 - Urgau:f16-midpoint-const-feat, r=Amanieu7ef9e82c0ea Rollup merge of #133701 - kornelski:c-str, r=workingjubileee5e10c242ac Rollup merge of #131713 - tgross35:stabilize-const_maybe_uninit_write, r=RalfJung,dtolnayeb96f323fa0 stabilize const_{size,align}_of_val2b42df79e1a Stabilize `const_maybe_uninit_write`7b043597c80 Use c"lit" for CStrings without unwrapb06cd98bd77 Allow fn pointers comparisons lint in library3d21446fa49 Fix `f16::midpoint` const feature gate072ea73a1f6 Rollup merge of #133743 - bjoernager:slice-as-array, r=joboet21529533fde stabilize const_collections_with_hasher and build_hasher_default_const_new166cfb13136 Auto merge of #133728 - jhpratt:rollup-k1i60pg, r=jhprattec43e851a59 Fix docs for '<[T]>::as_array';4a95157e48e Rollup merge of #133678 - Urgau:stabilize-ptr_fn_addr_eq, r=jhprattf7d558398a2 Rollup merge of #133672 - RalfJung:const-stability-cleanup, r=jhprattcf34b1540ea Rollup merge of #133711 - cod10129:master, r=Noratrieb45418e9d2a6 Rollup merge of #131784 - Urgau:stabilize-midpoint, r=dtolnay0ba4fb63cc1 Rollup merge of #131416 - okaneco:const_copy, r=RalfJung58b87f49645 Mark `slice::copy_from_slice` unstably const50363a21191 add isatty alias for is_terminal06c9316079c Rollup merge of #133674 - scottmcm:chain-carrying-add, r=Amanieub2f5848193a Rollup merge of #133669 - RalfJung:const_swap_splitup, r=dtolnay833dd81deba Run `cargo update` and update licenses5c2d5ca1784 Stabilize unsigned `num_midpoint` featuref4630c8d109 Rollup merge of #133686 - samueltardieu:push-xkxwxzxqokuu, r=compiler-errors487eef7a511 Rollup merge of #133622 - mkroening:exception-blog, r=cuviper84b80170276 Rollup merge of #133602 - SanchithHegde:fix-pathbuf-example-codeblocks, r=cuviper2bfc089b74f Rollup merge of #133515 - SteveLauC:fix/hurd, r=ChrisDenton964c0c061fe Rollup merge of #128184 - joboet:refactor_pthread_sync, r=workingjubilee7b3ae4b14e8 Auto merge of #133684 - RalfJung:rollup-j2tmrg7, r=RalfJungb7abc7692ff Switch rtems target to panic unwindafea5597238 Add diagnostic item for `std::ops::ControlFlow`d17c5979b26 Rollup merge of #133670 - RalfJung:hashbrown, r=Amanieu6965d9c1b06 Auto merge of #133659 - jieyouxu:rollup-576gh4p, r=jieyouxue142fe090ef std: clarify comments about initialization0236bd2058d Stabilize `ptr::fn_addr_eq`a54b5c85a48 Add value accessor methods to `Mutex` and `RwLock`ec760c9108f fix: hurd build, stat64.st_fsid was renamed to st_dev550bfc05b24 rustc_allow_const_fn_unstable is not used in proc_macro1ccf19dc122 get rid of a bunch of unnecessary rustc_const_unstable70183029716 Fix chaining `carrying_add`sdd29fadf097 add test for bytewise ptr::swap of a pointera7f3a3cc076 remove a whole bunch of unnecessary const feature gates943aa44906f Abstract `ProcThreadAttributeList` into its own structe6a732b0db2 move swap_nonoverlapping constness to separate feature gate9d56b9dbedd bump hashbrown versione423a339a39 move slice::swap_unchecked constness to slice_swap_unchecked feature gate46851ab5cc9 Rollup merge of #133548 - cuviper:btreeset-entry-api, r=Mark-Simulacrumb6bb042b28c Rollup merge of #133496 - rust-wasi-web:wasi-available-parallelism, r=Amanieu5e218fe390d Rollup merge of #133106 - BLANKatGITHUB:intrinsic, r=RalfJung3b2bca7e9f0 Rollup merge of #132515 - kornelski:home_fix, r=jhpratt407d5985ad5 Rollup merge of #133625 - RalfJung:custom-mir-debug-info, r=compiler-errorsa0b4e2ff644 Rollup merge of #116161 - Soveu:varargs2, r=cjgilloteeb808edfce Auto merge of #133533 - BoxyUwU:bump-boostrap, r=jieyouxu,Mark-Simulacrum2992ba7e050 refine mir debuginfo docsbf4636bee39 Doc comment custom MIR debuginfo.547854bab55 update link to "C++ Exceptions under the hood" blogc145db8fec3 Rollup merge of #133530 - timvisee:master, r=jhpratt3ccd6102eae Rollup merge of #133466 - aksh1618:patch-1, r=thomcce5e4ec16636 fix: fix codeblocks in `PathBuf` example069a3f311a4 Auto merge of #123244 - Mark-Simulacrum:share-inline-never-generics, r=saethlinaa2609a583f Change `GetManyMutError` to match T-libs-api decisione97ec53b763 Share inline(never) generics across crates68d3ed3d908 Also use zero when referencing to capacity or length657e081ba8f Use consistent wording in docs, use zero instead of 0e97f024d14b Auto merge of #133561 - GuillaumeGomez:rollup-g4upmv4, r=GuillaumeGomezc8ce91a5e34 Rollup merge of #133543 - mustartt:aix-lgammaf_r-shim, r=cuviper3d06a7c117e Rollup merge of #133512 - bjoernager:slice-as-array, r=Amanieu5a2e12351d7 Rollup merge of #129409 - grinapo:patch-1, r=Amanieu64d66ce14ba Rollup merge of #133498 - GuillaumeGomez:missing-examples, r=joboet95afca906a6 Stabilize `extended_varargs_abi_support`8416a6beeca Fill in a `BTreeSet::entry` example32276df18d5 Add a tracking issue for `btree_set_entry`0b8b46754ae Add `BTreeSet` entry APIs to match `HashSet`de67dab738c fmtb255bcd4709 update cfgsd5ee74c8b2c Implement code reviewcc94a61244f replace placeholder versionea762e31d64 Auto merge of #133369 - Zalathar:profiler-builtins-no-core, r=jieyouxube4d7f97a51 Rollup merge of #133449 - joboet:io_const_error, r=tgross35fddc6136036 Rollup merge of #133402 - compiler-errors:drop-and-destruct, r=lcnrb5baaaa3d2a Auto merge of #133505 - compiler-errors:rollup-xjp8hdi, r=compiler-errors11a4630ce28 chore: Improve doc commentsd3ade682724 Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods;cdf278252ad std: update internal uses of `io::const_error!`182e0fde338 Rollup merge of #133435 - RalfJung:test_downgrade_observe, r=tgross356e22739b070 Rollup merge of #133282 - tgross35:maybe-uninit-debug, r=Amanieu585dfc5b52e Rollup merge of #133136 - ChayimFriedman2:get-many-mut, r=Amanieu75101ecc49d Rollup merge of #133042 - cuviper:btreemap-insert_entry, r=Amanieuc590ef03caa Rollup merge of #133464 - RalfJung:whitespace-panic, r=joboetb0910ed9eec Rollup merge of #133419 - CromFr:add-path-strip_prefix-test-example, r=Amanieuec61c1e49a2 Add missing code examples on `LocalKey`c8c96e00fdc thread::available_parallelism for wasm32-wasip1-threads85ceea5ea32 Refactor ReadDir into a state machine9e9b5eeb86b Run TLS destructors for wasm32-wasip1-threads2dec6432dc5 Fix typos in pin.rs02b3316cbb9 std::thread: avoid leading whitespace in some panic messagesee91620dbef Constify Drop and Destruct7abb3262e5d std: expose `const_io_error!` as `const_error!`786c3e18dcb Auto merge of #133247 - GuillaumeGomez:reduce-integer-display-impl, r=workingjubilee992b1d2573c Support ranges in `<[T]>::get_many_mut()`41bd055eaed miri: disable test_downgrade_observe test on macOSca2246ba724 Rollup merge of #132982 - suaviloquence:2-doc-changed-alloc-methods, r=Mark-Simulacrum6e2012f32d9 Rollup merge of #132533 - SUPERCILEX:patch-4, r=Mark-Simulacrumed2598bafce fix `Allocator` method names in `alloc` free function docsfd68d3e37ee Rollup merge of #133298 - n0toose:remove-dir-all-but-not-paths, r=Noratrieb74f078b7290 Rollup merge of #133260 - compiler-errors:deref, r=fee1-deadd1cf863b68f Rollup merge of #132730 - joboet:after_main_sync, r=Noratrieb3f9124b0cf3 Added a doc test for std::path::strip_prefixcea713a6711 Rollup merge of #133389 - eduardosm:stabilize-const_float_methods, r=RalfJung04dab39dbea Rollup merge of #133301 - GuillaumeGomez:add-example-wrapping-neg, r=workingjubileedd7b253bb5d changes old intrinsic declaration to new declarationce181b51151 Auto merge of #132611 - compiler-errors:async-prelude, r=ibraheemdev9fc2c20cb23 Auto merge of #132597 - lukas-code:btree-plug-leak, r=jhpratt7f63ef45955 Make profiler_builtins `#![no_core]` instead of just `#![no_std]`75fe14cbea0 Remove unnecessary `#![allow(unused_features)]`8ff9319664c Sort and separate lint/feature attributes in `profiler_builtins`000c27de7b8 Constify Deref and DerefMute105ad36675 Match simd_relaxed_fma documentation to fmuladd intrinsicbc1b909d1cf Auto merge of #133379 - jieyouxu:rollup-00jxo71, r=jieyouxua0222ed6f11 Add simd_relaxed_fma intrinsic18a772c0abf Stabilize `const_float_methods`1fa5b7136ba Auto merge of #133377 - jieyouxu:rollup-n536hzq, r=jieyouxu5048c462f73 Improve code by using `unsigned_abs`e8829bde64b Rollup merge of #133237 - fee1-dead-contrib:constadd, r=compiler-errors4151e360996 Rollup merge of #133332 - bjoernager:const-array-as-mut-slice, r=jhpratt842ed39a839 Rollup merge of #131505 - madsmtm:darwin_user_temp_dir, r=dtolnay0b0403aade1 Auto merge of #132994 - clubby789:cc-bisect, r=Kobzol44de774c840 Auto merge of #133360 - compiler-errors:rollup-a2o38tq, r=compiler-errors6ea276ef35c Rollup merge of #133264 - lolbinarycat:os-string-truncate, r=joboet5a6926c6a54 Auto merge of #132329 - compiler-errors:fn-and-destruct, r=lcnr8cace9e9e4d Shorten the `MaybeUninit` `Debug` implementation9fff2a79a89 aix: create shim for lgammaf_r0c2dadaf889 Add code example for `wrapping_neg` method for signed integersb0893a5fb1d Deduplicate checking drop terminator25cfe493429 Gate const drop behind const_destruct feature, and fix const_precise_live_drops post-drop-elaboration checkdf5f774cf44 Auto merge of #133339 - jieyouxu:rollup-gav0nvr, r=jieyouxufd9dfbfa58e Rollup merge of #133337 - ColinFinck:thread-scoped-fix-typo, r=joboet6ca197967f0 Rollup merge of #133330 - RalfJung:close, r=the84728cec9604aec Rollup merge of #133313 - thesummer:fix-arc4random, r=cuviperbd8c70b7603 Rollup merge of #133288 - bjoernager:const-array-each-ref, r=jhprattc9a80ad59f4 Rollup merge of #133238 - heiher:loong-stdarch-rexport, r=Amanieu0eb96d1dc9c Auto merge of #130867 - michirakara:steps_between, r=dtolnayc57bc831f1c Fix typo in `std::thread::Scope::spawn` documentation.b621e5886f5 Mark '<[T; N]>::as_mut_slice' as 'const';01df57db50c library: update comment around close()125a43354b7 Don't try to use confstr in Miridc9cd998086 Auto merge of #129238 - umgefahren:stabilize-ipv6-unique-local, r=dtolnaye515d5fdd20 distinguish overflow and unimplemented in Step::steps_between7e9c665fcec Use arc4random of libc for RTEMS targetfb92c4e9f3f Mention that std::fs::remove_dir_all fails on files7edd22c19b6 Mark and implement 'each_ref' and 'each_mut' in '[T; N]' as const;e411c3361f6 constify `Add`956d316aa96 Rollup merge of #131736 - hoodmane:emscripten-wasm-bigint, r=workingjubilee8defa07da76 implement OsString::truncate9dd9ebdafe5 Rollup merge of #133226 - compiler-errors:opt-in-pointer-like, r=lcnrc3a7a9ea54d Rollup merge of #130800 - bjoernager:const-mut-cursor, r=joshtriplett05d96c22b33 Rollup merge of #129838 - Ayush1325:uefi-process-args, r=joboet7691bc11882 Make PointerLike opt-in as a trait5c581c3aadf Reduce integer `Display` implementation sizec819ed39def Stabilize const_pin_2bb443655059 re-export `is_loongarch_feature_detected`63a5059a757 Rollup merge of #132732 - gavincrawford:as_ptr_attribute, r=Urgauf48d6a9b1d9 UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rce3055f65ed6 UniqueRc: PinCoerceUnsized and DerefPuref53e523d3c8 UniqueRc: comparisons and Hash5f8f1a32611 Rollup merge of #133183 - n0toose:improve-remove-dir-docs, r=joboet88965979fa9 Rollup merge of #125405 - m-ou-se:thread-add-spawn-hook, r=WaffleLapkin4da0cb33032 Rollup merge of #123947 - zopsicle:vec_deque-Iter-as_slices, r=Amanieu31096758b3f UniqueRc: Add more trait impls.4f1707779d3 Update doc comments for spawn hook.e7cb7389192 Address review comments.595f0d9f0f8 Fix tracking issue.4fe82dfc2b3 Add tracking issue.56ea82557bd Use Send + Sync for spawn hooks.977c4c304f2 Add thread Builder::no_hooks().e253c673db1 Update thread spawn hooks.053640f6f35 Use add_spawn_hook for libtest's output capturing.2a846d803f4 Add std::thread::add_spawn_hook.525dab97bb6 Correct comments concerning updated dangling pointer lintd2430399b75 Auto merge of #133205 - matthiaskrgr:rollup-xhhhp5u, r=matthiaskrgr3c67ef9e5a2 Rollup merge of #133200 - RalfJung:miri-rwlock-test, r=tgross353516801bae2 ignore an occasionally-failing test in Miri207627c1104 Rollup merge of #133182 - RalfJung:const-panic-inline, r=tgross35fb525301a5f Rollup merge of #132758 - nnethercote:improve-get_key_value-docs, r=cuviper3bd5a7f4276 Mention std::fs::remove_dir_all in std::fs::remove_dir40ecf6c22bf wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next6da3fda3593 Bump `stdarch` to the latest masterd70eaaa68ec const_panic: inline in bootstrap builds to avoid f16/f128 crashes1da1cc9cf07 std: allow after-main use of synchronization primitives307d6f22226 Auto merge of #133160 - jhpratt:rollup-wzj9q15, r=jhpratte09425b475c Rollup merge of #133145 - kornelski:static-mutex, r=traviscross58da10b98d8 Auto merge of #128219 - connortsui20:rwlock-downgrade, r=tgross35997906157b4 rename rustc_const_stable_intrinsic -> rustc_intrinsic_const_stable_indirect601132a1007 Improve `{BTreeMap,HashMap}::get_key_value` docs.2e135b01a22 Document alternatives to `static mut`bde38e315d0 Auto merge of #120370 - x17jiri:likely_unlikely_fix, r=saethlinb407a672d3c Likely unlikely fixf1532b9b5b2 Rollup merge of #133126 - ohno418:fix-String-doc, r=jhpratt91ab1736cfe Rollup merge of #133116 - RalfJung:const-null-ptr, r=dtolnay6f53685158e alloc: fix `String`'s doc61efdcc7741 clean up const stability around UB checksc313f7e9291 stabilize const_ptr_is_null6aced621042 Rollup merge of #132449 - RalfJung:is_val_statically_known, r=compiler-errors0250296af6c Rollup merge of #131717 - tgross35:stabilize-const_atomic_from_ptr, r=RalfJungd27c37b4c4a reduce threads in downgrade test8619ddabd64 fix `DOWNGRADED` bit unpreserved45a5a4e3f1d fix memory ordering bug + bad test525248ca5db add safety comments for queue implementatione2543ddca9c add `downgrade` to `queue` implementationc05bcc9c7fb modify queue implementation documentationddd48e97263 add `downgrade` to `futex` implementationf9bcdb4474d add simple `downgrade` implementations54967218559 add `downgrade` method onto `RwLockWriteGuard`dcda8df4676 add `RwLock` `downgrade` tests49b742da57d Rollup merge of #133050 - tgross35:inline-f16-f128, r=saethlin9b405001aa8 Rollup merge of #133048 - cyrgani:ptr-doc-update, r=Amanieu3357615fc72 Rollup merge of #133019 - sorairolake:add-missing-period-and-colon, r=tgross357e17a11e61d Rollup merge of #132984 - sunshowers:pipe2, r=tgross35e8a67ba743b Rollup merge of #132977 - cberner:fix_solaris, r=tgross35dbd5fb14b17 Rollup merge of #132790 - aDotInTheVoid:ioslice-asslice-rides-again, r=cuviper1b4ad7703eb Pass `f16` and `f128` by value in `const_assert!`e4c94766246 Remove one stray space.58c02681d8f use `&raw` in `{read, write}_unaligned` documentation1239f03791f btree: add `{Entry,VacantEntry}::insert_entry`9aa607df7aa Auto merge of #132709 - programmerjake:optimize-charto_digit, r=joshtriplett78626b047b6 Rollup merge of #133027 - no1wudi:master, r=jhprattc6347be9b59 Auto merge of #133026 - workingjubilee:rollup-q8ig6ah, r=workingjubilee28f9f7f6736 Fix a copy-paste issue in the NuttX raw type definitionc1bd3483194 Rollup merge of #133008 - onur-ozkan:update-outdated-comment, r=jieyouxu51884ccd46d Rollup merge of #133004 - cuviper:unrecover-btree, r=ibraheemdev9d1b5289926 Rollup merge of #133003 - zachs18:clonetouninit-dyn-compat-u8, r=dtolnay275fab34cf3 Rollup merge of #132907 - BLANKatGITHUB:intrinsic, r=saethlin265f69fd7de Rollup merge of #131304 - RalfJung:float-core, r=tgross35521d06b1f3a Auto merge of #122770 - iximeow:ixi/int-formatting-optimization, r=workingjubilee0874a0035d0 docs: Fix missing colon in methods for primitive types524cbdaf3b7 docs: Fix missing period in methods for integer types948e53de4bb Auto merge of #133006 - matthiaskrgr:rollup-dz6oiq5, r=matthiaskrgr4a5f8c13225 update outdated comment about test-float-parse5b9d092b2cf Rollup merge of #126046 - davidzeng0:mixed_integer_ops_unsigned_sub, r=Amanieu0ec0a66f5ca Auto merge of #132662 - RalfJung:const-panic-inlining, r=tgross353a28e6e022a Update core CloneToUninit tests35e1775fe1f btree: simplify the backdoor between set and map0495cd155b6 Bump `cc`ec80ac9760a Fix compilation error on Solaris due to flock usagecdcb1d2d589 Auto merge of #132556 - clubby789:cargo-update, r=Mark-Simulacruma66f410edcd Run `cargo update` and update licenses1cccc6a94cc const_panic: don't wrap it in a separate functionf79ecc84837 [illumos] use pipe2 to create anonymous pipes46925ba44db Auto merge of #132883 - LaihoE:vectorized_is_sorted, r=thomcc4ccf16b1eb0 Auto merge of #132972 - matthiaskrgr:rollup-456osr7, r=matthiaskrgrfe508063c28 Rollup merge of #132970 - tyilo:nonzero-u-div-ceil-issue, r=tgross35e35eeacfc3e Rollup merge of #132966 - RalfJung:const_option_ext, r=jhprattd1b467ef3b0 Rollup merge of #132948 - RalfJung:const_unicode_case_lookup, r=Noratrieb5a207560656 Rollup merge of #132851 - chansuke:update-comment, r=thomccff8020378de Auto merge of #132870 - Noratrieb:inline-int-parsing, r=tgross357f43800757b Add tracking issue number to unsigned_nonzero_div_ceil featuredfdaf4d0da8 Make `CloneToUninit` dyn-compatiblea6ab20eb090 stabilize const_option_extaef6c7529bf Rollup merge of #132541 - RalfJung:const-stable-extern-crate, r=compiler-errors9792fc3fa32 stabilize const_unicode_case_lookup7cd4be6ea3f Stabilize `Ipv6Addr::is_unique_local` and `Ipv6Addr::is_unicast_link_local`15b4af14a52 adds new declaration to codegen513cbf8297b Auto merge of #132943 - matthiaskrgr:rollup-164l3ej, r=matthiaskrgra636ccb7e8c Rollup merge of #132914 - rcorre:cell-grammar, r=tgross355af9cd39bdb Rollup merge of #132895 - scottmcm:generalize-nonnull-from-raw-parts, r=ibraheemdevbd35c207e83 remove no-longer-needed abs_private71c0928f8e5 allow rustc_private feature in force-unstable-if-unmarked crates2d1521ec8d3 Rollup merge of #132929 - cuviper:check-alloc_zeroed, r=tgross35ba37edb8236 Rollup merge of #132869 - lolbinarycat:library-fix-too_long_first_doc_paragraph, r=tgross35c3aa0fd6d20 Rollup merge of #132847 - RalfJung:addr-dont-expose, r=Mark-Simulacrum7b678a96b68 Auto merge of #132919 - matthiaskrgr:rollup-ogghyvp, r=matthiaskrgrfe2df9994be a release operation synchronizes with an acquire operation59ea28527ec Check for null in the `alloc_zeroed` example422c4e8dc6b new intrinsic declarationbe313a69b63 new intrinsic declarationbf896164821 Rollup merge of #132144 - adetaylor:receiver-trait-itself, r=wesleywiser95128df8753 Rollup merge of #120077 - SUPERCILEX:set-entry, r=Amanieu5b2d93dadf0 Update dangling pointer testsed8add25d55 Tag relevant functions with #[rustc_as_ptr] attributeeee61579d6d Auto merge of #132902 - matthiaskrgr:rollup-43qgg3t, r=matthiaskrgr6bc254b09ed Update grammar in std::cell docs.bae8842bd22 Emscripten: link with -sWASM_BIGINT6bc8a98cbb4 Rollup merge of #130999 - cberner:flock_pr, r=joboet2e3a4db79e1 Auto merge of #127589 - notriddle:notriddle/search-sem-3, r=GuillaumeGomez08e1228e615 Generalize `NonNull::from_raw_parts` per ACP362f9a5ed02f86 vectorize slice::is_sorted318b54e4aa4 `#[inline]` integer parsing functions2b0fd040446 split up the first paragraph of doc comments for better summaries863ba5a66b4 Update the doc comment of `ASCII_CASE_MASK`192601ab1ba elem_offset / subslice_range: use addr() instead of 'as usize'458dbbd00c3 Rollup merge of #132136 - RalfJung:target-feature-abi-compat, r=Mark-Simulacrum29571c684a7 honor rustc_const_stable_indirect in non-staged_api crate with -Zforce-unstable-if-unmarkedf1e6a403adc Improve documentation of `element_offset` and related methods6a9d2a411f5 Rename `elem_offset` to `element_offset`310a91d1a6a Add as_slice/into_slice for IoSlice/IoSliceMut.450aa1288bd Rollup merge of #132778 - lolbinarycat:io-Error-into_inner-docs, r=cuvipere53a11a5e8f update io::Error::into_inner to acknowlage io::Error::other3a3ed52ed1d Address review comments70d11b2f164 Update library/std/src/sys/pal/windows/fs.rs87dd8ff600f Auto merge of #132717 - RalfJung:rustc_safe_intrinsic, r=compiler-errorsd51ad86fa5a remove support for rustc_safe_intrinsic attribute; use rustc_intrinsic functions instead362e652f6c6 Rollup merge of #132738 - cuviper:channel-heap-init, r=ibraheemdevca7caf9db4c mark is_val_statically_known intrinsic as stably const-callable36fd72193f9 Rollup merge of #132696 - fortanix:raoul/rte-235-fix_fmodl_missing_symbol_issue, r=tgross35256a7ced72c Rollup merge of #132639 - RalfJung:intrinsics, r=workingjubilee,Amanieu79569ee933c Initialize channel `Block`s directly on the heapdb2b12c9066 core: move intrinsics.rs into intrinsics folder0fa9a6c6c9e Auto merge of #132714 - mati865:update-memchr, r=tgross356d60a72a8d9 Rollup merge of #132715 - tabokie:fix-lazy-lock-doc, r=Noratrieb17e5d3b5522 Rollup merge of #132665 - tyilo:nonzero-u-div-ceil, r=joboetda1331d6c40 Separate f128 `%` operation to deal with missing `fmodl` symbol57cef21786e Auto merge of #132705 - kornelski:inline-repeat, r=tgross357802368a477 fix lazylock commenta5d839dc87d Auto merge of #131888 - ChrisDenton:deopt, r=ibraheemdev64f77df1882 unpin and update memchr2d7984a960f optimize char::to_digit and assert radix is at least 27317cd4555d Inline str::repeat8446e1a5f47 Rollup merge of #132617 - uellenberg:fix-rendered-doc, r=cuviperdf1594bbcf8 Auto merge of #131721 - okaneco:const_eq_ignore_ascii_case, r=m-ou-se7e7f9ed6a32 Add `is_ascii` function optimized for x86-64 for [u8]b76ab440a07 Auto merge of #132500 - RalfJung:char-is-whitespace-const, r=jhpratta442ac02b25 Add new implementation benchmark5c39de3744c Add new unstable feature `const_eq_ignore_ascii_case`3adbc621669 Auto merge of #132664 - matthiaskrgr:rollup-i27nr7i, r=matthiaskrgr8ddab887db1 Change some code blocks to quotes in rendered std docef47b33a8cb Rollup merge of #131261 - clarfonthey:unsafe-cell-from-mut, r=m-ou-sedc052ced3b7 Auto merge of #132661 - matthiaskrgr:rollup-npytbl6, r=matthiaskrgr9be5c2dc1de Implement div_ceil for NonZero<unsigned>b39a2860435 Rollup merge of #132571 - RalfJung:const_eval_select_macro, r=oli-obk3a28e6ad6b1 Rollup merge of #132473 - ZhekaS:core_fmt_radix_no_panic, r=joboet46c3034cd24 Rollup merge of #132153 - bjoernager:const-char-encode-utf16, r=dtolnayd52956082bc add const_eval_select macro to reduce redundancy9250b4c4b59 Rollup merge of #132609 - NotWearingPants:patch-1, r=Amanieu54bd3adf0e3 Rollup merge of #132606 - eduardosm:char-slice-str-pattern-doc, r=tgross356b9a5af164d most const intrinsics don't need an explicit rustc_const_unstable any more49143b3b622 add new rustc_const_stable_intrinsic attribute for const-stable intrinsics031f9c28368 convert all const-callable intrinsics into the new form (without extern block)127883633f8 docs: fix grammar in doc comment at unix/process.rsff59429bddf Improve example of `impl Pattern for &[char]`a68e38323fc Add AsyncFn* to to the prelude in all editionsb8fe4fde115 Fixed typo, rebased29a8fc997da Updated SAFETY comment to address underflow008a74c9f20 Replace checked slice indexing by unchecked to support panic-free codeceac65d1adf Rollup merge of #132579 - RalfJung:rustc-std-workspace-crates, r=Amanieu2ccb95e8380 btree: don't leak value if destructor of key panics27c96552095 Stabilise 'const_char_encode_utf16';509dd073b69 Auto merge of #132586 - workingjubilee:rollup-qrmn49a, r=workingjubilee4926ac05cdf update rustc-std-workspace crates8d4546d424f Rollup merge of #132423 - RalfJung:const-eval-align-offset, r=dtolnayae28b877064 Auto merge of #132434 - tgross35:f128-tests, r=workingjubileeb82b6a45cf7 Fix and undeprecate home_dir()db581d1e2bf Enable `f128` tests on all non-buggy platforms 🎉9e03f8084c3 Auto merge of #132581 - workingjubilee:rollup-4wj318p, r=workingjubileec506c0279ef Update `compiler_builtins` to 0.1.138 and pin it4a3b0948bbe Rollup merge of #132563 - frectonz:master, r=Amanieu803847138ff Auto merge of #123723 - madsmtm:apple-std-os, r=dtolnayf2175096363 Auto merge of #132479 - compiler-errors:fx-feat-yeet, r=fee1-deadcaacc66a634 Rename the FIXMEs, remove a few that dont matter anymore8bb7ce8a697 Auto merge of #132542 - RalfJung:const_panic, r=tgross3572beb748321 remove const-support for align_offset48f72455d35 Modify `NonZero` documentation to reference the underlying integer typeb10bc73da0a Rollup merge of #132511 - RalfJung:const_arguments_as_str, r=dtolnaydee386e7977 Rollup merge of #132503 - RalfJung:const-hash-map, r=Amanieu028616a5bca Rollup merge of #132499 - RalfJung:unicode_data.rs, r=tgross35a04ae3433a7 Rollup merge of #132393 - zedddie16:issue-131865-fix, r=tgross3599edf316755 Rollup merge of #131377 - rick-de-water:nonzero-exp, r=dtolnay141ffe504bd Rollup merge of #129329 - eduardosm:rc-from-mut-slice, r=dtolnay0f4c0ab62ba add const_panic macro to make it easier to fall back to non-formatting panic in const0bad6557b73 stabilize const_arguments_as_strc77491eb408 Auto merge of #132458 - RalfJung:rustc-const-unstable, r=Amanieu39157edbc09 Rustdoc: added brief colon explanatione4225758db0 Add Set entry API578b3ff91b0 Add BorrowedBuf::into_filled{,_mut} methods to allow returning buffer with original lifetime2037eace73d Rollup merge of #132495 - Houtamelo:remove_unintended_link, r=jieyouxu31a805b08cf Rollup merge of #132493 - Houtamelo:doc_type-ref_html-tag, r=jieyouxuc2f25cd880d Rollup merge of #132482 - lukas-code:stab-attrs, r=Noratriebcc5191d1d82 remove const_hash feature leftovers2728af9203a const_with_hasher test: actually construct a usable HashMapa4a50b1b672 make char::is_whitespace unstably const970eae4d52b unicode_data.rs: show command for generating filef5f55442e3f get rid of a whole bunch of unnecessary rustc_const_unstable attributesb14c6792db7 Rollup merge of #132398 - krtab:add_doc_link, r=Noratrieb6f094ac1107 Remove unintended linka74274e4c08 Fix type reference in documents which was being confused with html tags.033cb2e7928 fix some stability annotationsbd16467dcc4 Rollup merge of #132459 - RalfJung:byte_sub_ptr, r=scottmcme145c80b018 Rollup merge of #132455 - RalfJung:const_alloc_layout, r=dtolnayc22c341e06a Rollup merge of #132451 - RalfJung:less-rustc_allow_const_fn_unstable, r=tgross353bbba3d8bab Rollup merge of #132445 - RalfJung:const-unchecked-shifts, r=tgross357df01bee11b Rollup merge of #132413 - lolbinarycat:offset_of_nested-docs, r=workingjubilee0579de67e47 remove no-longer-needed attributeb56688f9d64 add missing safety commentsd12f27d4ef9 adjust test gating for f16/f128d80df07dc04 float types: move copysign, abs, signum to libcore5f86b1888e2 offset_from / sub_ptr docs: emphasize that pointers must be in the same allocationc34766cbcdc feat(byte_sub_ptr): add ptr::byte_sub_ptr080a2e20906 make const_alloc_layout feature gate only about functions that are already stablee12063485b9 unchecked_shifts, unchecked_neg are safe-to-const-expose-on-stable, so we can get rid of a bunch of attributes53bc80ca335 remove some unnecessary rustc_allow_const_fn_unstable9661266001a Auto merge of #132206 - tgross35:update-builtins, r=wesleywiserc5d1f3effc7 use semantic line break804ea40144f update offset_of! docs to reflect the stablization of nesting1f1310db6fc Add intra-doc link in str::xxx_char_boundary93963fe694b Add a `collect_into` tuple test casee19e4426450 Don't impl Extend for 13-tuples86598670051 rustdoc-search: simplify rules for generics and type paramsea2ceffe08d Remove do_not_const_check from Iterator methodsf7e46bc4e8d Add intra-doc link in str::xxx_prefixad90a435921 Auto merge of #132238 - Urgau:midpoint-i64-hackers-impl, r=joboetb1a8ad0421e Implement `From<&mut {slice}>` for `Box/Rc/Arc<{slice}>`de81c2cfd47 Auto merge of #132326 - matthiaskrgr:rollup-ngyw18g, r=matthiaskrgrc52ccba99aa Rollup merge of #132321 - betrusted-io:xous/fix-rustc_const_stable-attribute, r=joboet8148aa07cca Auto merge of #132231 - lukas-code:rc-plug-leaks, r=tgross358c010b9c476 xous: sync: remove `rustc_const_stable` attribute129f8e8c883 Win: rename: Use offset_of! in struct size calculation38ae7fe6247 Rollup merge of #132270 - yakiimoninja:fs-truncate-docs, r=Noratrieb94b192d0f13 Rollup merge of #132233 - WaffleLapkin:box-module-split, r=workingjubilee16b2c9a2db5 Rollup merge of #131520 - zachs18:const-str-split, r=Noratrieb5a311c1d378 Auto merge of #132277 - workingjubilee:rollup-5e6q6e4, r=workingjubileef1a9b205273 Stabilize `const_atomic_from_ptr`2525108f4c5 Auto merge of #128985 - GrigorenkoPV:instantly-dangling-pointer, r=Urgau5e9f5b7bb19 Rc destructor: tweak inlining70e917c03c0 Split `boxed.rs` into a few modulesfedcb7c717f Rollup merge of #131441 - SpriteOvO:proc-macro-to-tokens-trait, r=dtolnayf156bce99c2 clarified std::fs truncate doc1050cdf4056 Auto merge of #132145 - RalfJung:stdarch, r=Amanieuace4a33dfbb clarified doc for `std::fs::OpenOptions.truncate()`47fa409434a std: refactor `pthread`-based synchronizationb1d5523119b New lint: `dangling_pointers_from_temporaries`64c9d4f1857 Rollup merge of #131391 - ChaiTRex:isqrt, r=scottmcm,tgross3553780a64b4c we can now enable the 'const stable fn must be stable' check1f1a027091f bump stdarch56e3763facb Auto merge of #132251 - jieyouxu:rollup-mtv9mpd, r=jieyouxu4d02c63de8e Auto merge of #132200 - Mark-Simulacrum:strengthen-cross-lang, r=RalfJung17cb40d2ccc Support `char::is_digit` in const contexts77075c6dbc8 Use Hacker's Delight impl in `i64::midpoint` instead of wide `i128` impl8ce9b1cfab9 Rc/Arc: don't leak the allocation if drop panics99da8532715 add test for panicking drop in Box/Rc/Arcb737edbfba5 Auto merge of #131284 - dingxiangfei2009:rename-smart-ptr-to-coerce-referent, r=compiler-errors01a07cd4871 Auto merge of #132191 - Urgau:midpoint_signed_towards_zero, r=dtolnayc3b9a53453f Add a new trait `proc_macro::ToTokens`3dd1c135709 Update compiler-builtins to 0.1.136dc9b4671988 Auto merge of #131715 - tgross35:add-const_sockaddr_setters, r=Amanieuc40fc128e80 Make clearer that guarantees in ABI compatibility are for Rust only9be44cb8f7b Add test for all midpoint expectationsc4cdbf7fbb1 Simplify documentation for Extend impl for tuplesc528f49e40c Round negative signed integer towards zero in `iN::midpoint`a60439c0bce Rollup merge of #132019 - daboross:document-partialeq-oncelock, r=Mark-Simulacrumc1f1caa4131 Add Extend impls for tuples of arity 1 through 12b0fc28c0c8b Auto merge of #131349 - RalfJung:const-stability-checks, r=compiler-errorsac13eae8512 Rollup merge of #132137 - RalfJung:behavior, r=Noratrieba8f0d49ac66 get rid of the internal unlikely macro752b4f49c6f Re-do recursive const stability checks58397bb1fdd Arbitrary self types v2: (unused) Receiver trait8ebd2382ca1 library: consistently use American spelling for 'behavior'75eb49968ea ABI compatibility: remove section on target features31b83431cee Rollup merge of #131457 - kpreid:fnaddr, r=dtolnay3e063d045dc Auto merge of #132121 - workingjubilee:rollup-yrtn33e, r=workingjubilee60585ca1420 Rollup merge of #132113 - LaihoE:pattern_as_utf8_default_impl, r=workingjubileeb6a311980d5 Rollup merge of #132101 - youknowone:thread_local-gyneiene, r=tgross35798bde442ca Rollup merge of #132048 - mustartt:aix-random-impl, r=workingjubilee6feac64de56 Rollup merge of #131851 - sunshowers:musl-posix, r=workingjubileef5ccf0690b8 Avoid use imports in thread_local_inner! in statik2e8a2eb7e08 Auto merge of #132116 - matthiaskrgr:rollup-3a0ia4r, r=matthiaskrgr2a751f0ecfb Rollup merge of #131790 - nmathewson:doc_socketaddr_representation, r=tgross357315f476515 Auto merge of #131985 - compiler-errors:const-pred, r=fee1-deaddeebbdb006e provide default impl for as_utf8_pattern478357c2879 Auto merge of #123550 - GnomedDev:remove-initial-arc, r=Noratrieb2ed812b6ba9 Document textual format of SocketAddrV{4,6}2dd5cd15ed1 Remove associated type based effects logicc50af69cc05 [musl] use posix_spawn if a directory change was requestedec9c62c5d8b Rollup merge of #130225 - adetaylor:rename-old-receiver, r=wesleywiser58baa6b1017 Rollup merge of #132066 - tifv:ptr-docs-typo, r=Amanieu4eafd5f88bf Rollup merge of #132065 - tifv:dangling-docs, r=Noratrieba351830dc1e Rollup merge of #132060 - joshtriplett:innermost-outermost, r=jieyouxu726032a41a5 Rollup merge of #132039 - a1phyr:vecdeque_read_exact, r=Noratrieb52be5ab2eba Rollup merge of #130991 - LaihoE:vectorized_slice_contains, r=Noratriebed7dcef9363 const fn str::split_at*908c430f90b const fn str::is_char_boundary3804ceb5928 vectorized SliceContainsdab8a07e0c6 s/SmartPointer/CoerceReferent/gbe2e2520a8f fix a typo in documentation of pointer::sub_ptr()4489ada2533 fix documentation of ptr::dangling() functionbeb0813c0f9 "innermost", "outermost", "leftmost", and "rightmost" don't need hyphense5207dc3e2f Specialize `read_exact` and `read_buf_exact` for `VecDeque`57241596b67 Rollup merge of #132031 - slanterns:rc_default, r=ibraheemdevcdf7373322d Rollup merge of #131707 - clarfonthey:constify-core-tests, r=thomcca723e9945c0 Auto merge of #131929 - LaihoE:replace_default_capacity, r=joboete4fc33d4c2b AIX use /dev/urandom for implc0f78b0fd64 better default capacity for str::replace6cb2df2e4f2 Rename Receiver -> LegacyReceiver44957966850 refactor `Arc<T>::default`82498152f13 optimize `Rc<T>::default`cd6cb9b77a8 Rollup merge of #131697 - ShE3py:rt-arg-lifetimes, r=Amanieu9d53c3d831f Document PartialEq impl for OnceLockf03c8c01999 Rollup merge of #132003 - RalfJung:abi-compat-docs, r=traviscross4066a64f143 Rollup merge of #130350 - RalfJung:strict-provenance, r=dtolnaybda4d9a08c4 update ABI compatibility docs for new option-like rulesf215166548f move strict provenance lints to new feature gate, remove old feature gatesf623dd3510b stabilize Strict Provenance and Exposed Provenancef6c9bdee93a fix docs8ca8d1c2840 replace FindFirstFileW with FindFirstFileExW and apply optimizationec7fd656204 replace FindFirstFileW with FindFirstFileExW and regenerate bindingsfe800fec874 Auto merge of #131948 - matthiaskrgr:rollup-c9rvzu6, r=matthiaskrgrcbce52d7930 Support lock() and lock_shared() on async IO Files337589b47fe Rollup merge of #131921 - klensy:statx_all, r=ChrisDentona18ec462803 Rollup merge of #131772 - GnomedDev:remove-proc_macro-todo, r=petrochenkov2de2bb8c725 Auto merge of #131907 - saethlin:update-compiler-builtins, r=tgross3527da9878375 Update `compiler-builtins` to 0.1.1344926eaf8eb3 Rollup merge of #131919 - RalfJung:zero-sized-accesses, r=jhpratt128a16b2582 Rollup merge of #131890 - printfn:precise-capturing-docs, r=traviscross482e00e978e Rollup merge of #127462 - Ayush1325:uefi-env, r=joboet5b58eaf4c04 Remove the Arc rt::init allocation for thread info907235305db Auto merge of #131816 - Zalathar:profiler-feature, r=Kobzol50b999587c3 replace STATX_ALL with (STATX_BASIC_STATS | STATX_BTIME) as former is deprecatede10007c801c zero-sized accesses are fine on null pointersc839b06e6f7 Update `use` keyword docs to describe precise capturing52d741650e3 std: uefi: Use common function for UEFI shellee906dc299f std: uefi: Add basic Env variablesbcb8c74ac6d Auto merge of #131895 - jieyouxu:rollup-jyt3pic, r=jieyouxuec7185ea142 Rollup merge of #126207 - devnexen:stack_overflow_libc_upd, r=joboetd490861f932 Auto merge of #131841 - paulmenage:futex-abstraction, r=joboet321ed487b43 Revert using `HEAP` static in Windows alloc9f4792a0c17 Rollup merge of #131866 - jieyouxu:thread_local, r=jhpratt70a07c3e85c Rollup merge of #131858 - AnthonyMikh:AnthonyMikh/repeat_n-is-not-that-special-anymore, r=jhpratt397c893fc1a Rollup merge of #131809 - collinoc:fix-retain-mut-docs, r=jhpratt958ce90f8b5 Rollup merge of #131774 - thesummer:rtems-add-getentropy, r=joboeta02fe2c3ab7 Rollup merge of #130136 - GKFX:stabilize-const-pin, r=dtolnayb75a761783d Add entropy source for RTEMSee0238f6983 Rollup merge of #131850 - lexeyOK:master, r=compiler-errors2fb1b3123dc Rollup merge of #131823 - thesummer:bump-libc-0.2.160, r=workingjubileebad79f7adeb Rollup merge of #131654 - betrusted-io:xous-various-fixes, r=thomcc5c57b583a5e Avoid shadowing user provided types or type aliases in `thread_local!`3d6e29ab956 remove outdated documentation for `repeat_n`2925689b331 Auto merge of #131572 - cuviper:ub-index_range, r=thomcc7e5438a1c0e Bump libc to 0.2.16111e5ea4617e std::unix::stack_overflow::drop_handler addressing todo through libc updatef7bd16a03cc Missing parenthesis1df22fb2b27 Abstract the state type for futexes704ed799ad7 Rollup merge of #131835 - ferrocene:amanjeev/add-missing-attribute-unwind, r=Noratriebafedc50a999 Rollup merge of #131833 - c-ryan747:patch-1, r=Noratrieb55231fc463a Auto merge of #130223 - LaihoE:faster_str_replace, r=thomcce3b067b3d5c Do not run test where it cannot run96406cc04ba Add must_use to CommandExt::execff3476a0445 Make `profiler_builtins` an optional dependency of sysroot, not stdf94af194acf Remove TODO in proc_macro now `const_refs_to_static` is stable31b63e6cd04 Fix predicate signatures in retain_mut docsbfca7d41a5f Win: Remove special casing of the win7 target for `std::fs::rename`85ffa8b1c0d Auto merge of #131797 - matthiaskrgr:rollup-lzpze2k, r=matthiaskrgrea93b310074 Partially stabilize const_pin5f8ad4da356 Rollup merge of #131730 - zlfn:master, r=tgross35354887191ca Auto merge of #131792 - matthiaskrgr:rollup-480nwg4, r=matthiaskrgr828d995efd6 Rollup merge of #130822 - bjoernager:non-null-from-ref, r=dtolnay0d4e8ae492a Auto merge of #131767 - cuviper:bump-stage0, r=Mark-Simulacrum3fc0b3dd5ab Rollup merge of #131746 - slanterns:once_box_order, r=joboet1e8ad2f6796 Rollup merge of #131712 - tgross35:const-lazy_cell_into_inner, r=joboet67981579caa Auto merge of #131460 - jwong101:default-placement-new, r=ibraheemdevc38229a1748 update bootstrap configs0a1c9a389b5 replace placeholder version9f57bef95bb relax a memory order in `once_box`fa35f4afd1d Rollup merge of #131521 - jdonszelmann:rc, r=joboet466bf5e0288 Rollup merge of #130568 - eduardosm:…46 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Labels
S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compilerRelevant to the compiler team, which will review and decide on the PR/issue. T-libsRelevant to the library team, which will review and decide on the PR/issue.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit contains a new
Receivertrait, which is the basis for the Arbitrary Self Types v2 RFC. This allows smart pointers to be method receivers even if they're not Deref.This is currently unused by the compiler - a subsequent PR will start to use this for method resolution if the
arbitrary_self_typesfeature gate is enabled. This is being landed first simply to make review simpler: if people feel this should all be in an atomic PR let me know.This is a part of the arbitrary self types v2 project,rust-lang/rfcs#3519
#44874
r?@wesleywiser