about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2025-07-28Auto merge of #144603 - lnicola:sync-from-ra, r=lnicolabors-1424/+2182
`rust-analyzer` subtree update Subtree update of `rust-analyzer` to https://github.com/rust-lang/rust-analyzer/commit/511c999bea1c3c129b8eba713bb9b809a9003d00. Created using https://github.com/rust-lang/josh-sync. r? `@ghost`
2025-07-28Allow `cargo fix` to partially apply `mismatched_lifetime_syntaxes`Kornel-24/+45
2025-07-28Ensure external paths passed via flags end up in rustdoc depinfoNoratrieb-17/+53
rustdoc has many flags to pass external HTML/Markdown/CSS files that end up in the build. These need to be recorded in depinfo so that Cargo will rebuild the crate if they change.
2025-07-28bootstrap: enable tidy auto extra checks on tools profilebinarycat-0/+5
2025-07-28tidy: increase performance of auto extra checks featurebinarycat-30/+55
Co-authored-by: Jakub Beránek <berykubik@gmail.com>
2025-07-28Merge pull request #20321 from rust-lang/rustc-pullLaurențiu Nicola-17369/+25391
Rustc pull update
2025-07-28Merge pull request #20330 from Kobzol/triagebot-reopenLaurențiu Nicola-0/+3
Configure triagebot to reopen bot PRs
2025-07-28Format and bump rustc cratesLaurențiu Nicola-23/+23
2025-07-28Configure triagebot to reopen bot PRsJakub Beránek-0/+3
2025-07-28Fix typo in internal error message (#15363)dswij-1/+1
changelog: none @rustbot label +P-low +A-infra
2025-07-28make sure to populate DownloadState dependencies before its initialization ↵bit-aloo-5/+5
in config parsing
2025-07-28Enable t-compiler backport nominationapiraino-0/+15
2025-07-28Auto merge of #144377 - camsteffen:simplify-impl-of-method, r=fee1-deadbors-111/+107
Rename impl_of_method and trait_of_item This PR used to tweak the implementation of impl_of_method, but that introduced a perf regression. Rename impl_of_method and trait_of_item to impl_of_assoc and trait_of_assoc respectively. This reflects how the two functions are closely related. And it reflects the behavior more accurately as the functions check whether the input is an associated item.
2025-07-28Account for .yield in illegal postfix operator messageMichael Goulet-1/+28
2025-07-28thread name in stack overflow messagejoboet-32/+87
2025-07-28Fix typo in internal error messageSamuel Tardieu-1/+1
2025-07-28Do not specialize for `if_chain` any longerSamuel Tardieu-37/+14
Now that `if let` chains have been introduced, the `if_chain` external crate is no longer necessary. Dropping special support for it also alleviates the need to keep the crate as a dependency in tests.
2025-07-28Tweak docsCameron Steffen-5/+4
2025-07-28Rename impl_of_method -> impl_of_assocCameron Steffen-27/+27
2025-07-28Rename impl_of_method -> impl_of_assocCameron Steffen-45/+45
2025-07-28Rename trait_of_item -> trait_of_assocCameron Steffen-24/+24
2025-07-28Rename trait_of_item -> trait_of_assocCameron Steffen-47/+47
2025-07-28Introduce assoc_parentCameron Steffen-14/+11
2025-07-28Remove TraitAlias from trait_of_itemCameron Steffen-1/+1
This is dead code.
2025-07-28Do not treat NixOS as a Pascal-cased identifier (#15361)Alex Macleod-4/+4
changelog: [`doc_markdown`]: do not treat NixOS as a Pascal-cased identifier Fixes rust-lang/rust-clippy#15360
2025-07-28expand: Micro-optimize prelude injectionVadim Petrochenkov-107/+105
Use `splice` to avoid shifting the other items twice. Put `extern crate std;` first so it's already resolved when we resolve `::std::prelude::rust_20XX`.
2025-07-28Merge pull request #20313 from Veykril/push-qmorsnlvwlrrLukas Wirth-50/+50
fix: Fix runnables extra env not substituting env vars
2025-07-28Merge pull request #20327 from Wilfred/saved_file_placeholderLukas Wirth-1/+12
Don't show '$saved_file' literally in IDE status updates
2025-07-28Merge pull request #4504 from RalfJung/link-section-arraysRalf Jung-10/+22
lookup_link_section: support arrays of function pointers
2025-07-28Fix `cast-lossless` should not suggest when casting type is from macro input ↵Samuel Tardieu-0/+23
(#15358) Closes rust-lang/rust-clippy#15348 The span of the `as` expr is also incorrect, but I believe it is not a bug from Clippy. changelog: [`cast-lossless`] fix wrong suggestions when casting type is from macro input
2025-07-28remove config wrappers of download_toolchain and maybe_download_fmt and ↵bit-aloo-17/+13
during config parsing directly invoke cdownload methods
2025-07-28lookup_link_section: support arrays of function pointersRalf Jung-10/+22
2025-07-28fix: `cast-lossless` should not suggest when casting type is from macro inputyanglsh-0/+23
2025-07-28Merge pull request #20303 from Hmikihiro/migrate_path_transformShoyu Vanilla (Flint)-87/+170
Migrate path transform
2025-07-28Do not treat NixOS as a Pascal-cased identifierSamuel Tardieu-4/+4
2025-07-28fix: Reject upvar scrutinees for `loop_match`Shoyu Vanilla-7/+113
2025-07-28use dry_run and verbose directly from exec_ctxbit-aloo-30/+27
2025-07-28fix `Atomic*::as_ptr` wordingusamoi-9/+9
2025-07-28Support multiple crate versions in --extern-html-root-urlKornel-7/+37
2025-07-28Test renamed crates in rustdocKornel-0/+23
2025-07-28Save names of used extern cratesKornel-0/+20
Tracks association between `self.sess.opts.externs` (aliases in `--extern alias=rlib`) and resolved `CrateNum` Intended to allow Rustdoc match the aliases in `--extern-html-root-url` Force-injected extern crates aren't included, since they're meant for the linker only
2025-07-28Clarify update_extern_crateKornel-5/+27
2025-07-28Avoid redundant lookup in CrateLoader::existing_matchKornel-1/+1
2025-07-28Fix `match_single_binding` wrongly handles scope (#15060)dswij-71/+505
Closes rust-lang/rust-clippy#15018 Closes rust-lang/rust-clippy#15269 Continuation of rust-lang/rust-clippy#15017 changelog: [`match_single_binding`] fix wrong handling of scope
2025-07-28Fix tests/codegen-llvm/simd/extract-insert-dyn.rs test failure on riscv64Caiweiran-9/+18
2025-07-28Auto merge of #144543 - scottmcm:more-sroa, r=cjgillotbors-68/+40
Allow more MIR SROA This removes some guards on SROA that are no longer needed: - With https://github.com/rust-lang/compiler-team/issues/838 it no longer needs to check for SIMD - With https://github.com/rust-lang/compiler-team/issues/807 it no longer needs to check for niches - This means that `Wrapper(char)` and `Pin<&mut T>` can get SRoA'd now, where previously they weren't because the check was banning SRaA for anything with a niche -- not just things with `#[rustc_layout_scalar_valid_range_*]`. - Technically rust-lang/rust#133652 isn't complete yet, but `NonZero` and `NonNull` have already moved over, so this is fine. At worst this will mean that LLVM gets less `!range` metadata on something that wasn't already fixed by rust-lang/rust#133651 or rust-lang/rust#135236, but that's still sound, and unblocking general SRoA is worth that tradeoff.
2025-07-28update fortanix run-make testFolkert de Vries-15/+28
Make it more idiomatic with the new run-make infra
2025-07-28use `minicore` for fortanix assembly testsFolkert de Vries-27/+46
2025-07-28Don't show '$saved_file' literally in IDE status updatesWilfred Hughes-1/+12
We've had a few users get confused when VS Code shows `my_custom_check --args $saved_file`, as it looks like substitution didn't occur. Instead, show `my_custom_check --args ...` in the display output. This is also shorter, and the VS Code status bar generally works best with short text.
2025-07-28Add regression testOli Scherer-0/+253