about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2025-07-10Add `BuilderMethods::unreachable_nonterminator`Scott McMurray-27/+32
So places that need `unreachable` but in the middle of a basic block can call that instead of figuring out the best way to do it.
2025-07-10Check assoc consts and tys later like assoc fnsMu001999-44/+169
2025-07-10fix: Include frontmatter in -Zunpretty outputEd Page-1/+11
In the implementation (#140035), this was left as an open question for the tracking issue (#136889). My assumption is that this should be carried over. Thankfully, either way, `-Zunpretty` is unstable and we can always change it even if we stabilize frontmatter.
2025-07-10test(lexer): Add frontmatter unit testEd Page-2/+84
2025-07-10interpret/allocation: expose init + write_wildcards on a rangeNia Espera-28/+42
2025-07-10chore: Improve how the other suggestions message gets renderedScott Schafer-20/+25
2025-07-10test: Make one multi suggestion test unicodeScott Schafer-0/+282
2025-07-10cleaned up some testsKivooeo-112/+177
2025-07-10Auto merge of #143731 - matthiaskrgr:rollup-lm9q7vc, r=matthiaskrgrbors-415/+512
Rollup of 12 pull requests Successful merges: - rust-lang/rust#136906 (Add checking for unnecessary delims in closure body) - rust-lang/rust#143652 (docs: document trait upcasting rules in `Unsize` trait) - rust-lang/rust#143657 (Resolver: refact macro map into external and local maps) - rust-lang/rust#143659 (Use "Innermost" & "Outermost" terminology for `AttributeOrder`) - rust-lang/rust#143663 (fix: correct typo in attr_parsing_previously_accepted message key) - rust-lang/rust#143666 (Re-expose nested bodies in rustc_borrowck::consumers) - rust-lang/rust#143668 (Fix VxWorks build errors) - rust-lang/rust#143670 (Add a new maintainer to the wasm32-wasip1 target) - rust-lang/rust#143675 (improve lint doc text) - rust-lang/rust#143683 (Assorted `run-make-support` maintenance) - rust-lang/rust#143695 (Auto-add `S-waiting-on-author` when the PR is/switches to draft state) - rust-lang/rust#143706 (triagebot.toml: ping lolbinarycat if tidy extra checks were modified) r? `@ghost` `@rustbot` modify labels: rollup
2025-07-10cleaned up some testsKivooeo-85/+131
2025-07-10extract single_import_can_define_name and finalize_glob_module_bindingb-naber-118/+143
2025-07-10Rollup merge of #143706 - lolbinarycat:triagebot-extra-checks-ping, r=KobzolMatthias Krüger-0/+4
triagebot.toml: ping lolbinarycat if tidy extra checks were modified I rewrote a large chunk of this module, and plan to do further changes to it (namely moving rustdoc_js checks into it), so it would be nice to keep up with and provide feedback on any changes to it, at least for the immediate future. r? `@Kobzol`
2025-07-10Rollup merge of #143695 - Urgau:waiting-on-author-new_draft, r=KobzolMatthias Krüger-0/+3
Auto-add `S-waiting-on-author` when the PR is/switches to draft state This PR adds the `S-waiting-on-author` as a `new_draft` when the PR is/switches to draft state. Related to https://github.com/rust-lang/triagebot/issues/2102 & https://github.com/rust-lang/triagebot/pull/2104 cc `@jieyouxu` r? `@Kobzol`
2025-07-10Rollup merge of #143683 - jieyouxu:rms-cleanup, r=KobzolMatthias Krüger-242/+143
Assorted `run-make-support` maintenance This PR should contain no functional changes. - Commit 1: Removes the support library's CHANGELOG. In the very beginning, I thought maybe we would try to version this library. But this is a purely internal test support library, and it's just extra busywork trying to maintain changelog/versions. It's also hopelessly outdated. - Commit 2: Resets version number to `0.0.0`. Ditto on busywork. - Commit 3: Bump `run-make-support` to Edition 2024. The support library was already "compliant" with Edition 2024. - Commit 4: Slightly organizes the support library dependencies. - Commit 5: Previously, I tried hopelessly to maintain some manual formatting, but that was annoying because it required skipping rustfmt (so export ordering etc. could not be extra formatted). Give up, and do some rearrangements / module prefix tricks to get the `lib.rs` looking at least *reasonable*. IMO this is not a strict improvement, but I rather regain the ability to auto-format it with rustfmt. - Commit {6,7}: Noticed in rust-lang/rust#143669 that we apparently had *both* {`is_msvc`, `is_windows_msvc`}. This PR removes `is_msvc` in favor of `is_windows_msvc` to make it unambiguous (and only retain one way of gating) as there are some UEFI targets which are MSVC but not Windows. Best reviewed commit-by-commit. r? `@Kobzol`
2025-07-10Rollup merge of #143675 - hkBst:overflowing-1, r=oli-obkMatthias Krüger-5/+4
improve lint doc text
2025-07-10Rollup merge of #143670 - loganek:loganek/wasm32-wasip1-new-maintainer, ↵Matthias Krüger-0/+1
r=alexcrichton Add a new maintainer to the wasm32-wasip1 target cc: `@alexcrichton`
2025-07-10Rollup merge of #143668 - biabbas:vxworks, r=NoratriebMatthias Krüger-2/+1
Fix VxWorks build errors fixes rust-lang/rust#143442 r? ``@Noratrieb``
2025-07-10Rollup merge of #143666 - nilehmann:nested_bodies_in_consumers, r=lcnrMatthias Krüger-62/+107
Re-expose nested bodies in rustc_borrowck::consumers After https://github.com/rust-lang/rust/pull/138499, it's not possible anymore to get borrowck information for nested bodies via `get_body_with_borrowck_facts`. This PR re-exposes nested bodies by returning a map containing the typeck root and all its nested bodies. To collect the bodies, a map is added to `BorrowCheckRootCtxt`, and a body is inserted every time `do_mir_borrowck` is called. r? ``@lcnr``
2025-07-10Rollup merge of #143663 - dillona:fix-typo, r=jdonszelmannMatthias Krüger-2/+2
fix: correct typo in attr_parsing_previously_accepted message key
2025-07-10Rollup merge of #143659 - GrigorenkoPV:attributes/inner-outer, r=jdonszelmannMatthias Krüger-42/+29
Use "Innermost" & "Outermost" terminology for `AttributeOrder` Follow-up to rust-lang/rust#143603. https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/attribute.20parsing.20rework/near/527768926 Also remove some outdated comments. cc `@jdonszelmann`
2025-07-10Rollup merge of #143657 - LorrensP-2158466:split-macro-map, r=petrochenkovMatthias Krüger-32/+52
Resolver: refact macro map into external and local maps Puts `MacroData` inside of the `ResolverArena` and splits `macro_map` into 2 maps: `local_macro_map` and `external_macro_map`. This way `get_macro_by_def_id` can take a `&Resolver` instead of a mutable one. Part of [#gsoc > Project: Parallel Macro Expansion](https://rust-lang.zulipchat.com/#narrow/channel/421156-gsoc/topic/Project.3A.20Parallel.20Macro.20Expansion/with/516965603) r? `@petrochenkov`
2025-07-10Rollup merge of #143652 - moulins:doc-unsize-trait-upcasting, r=compiler-errorsMatthias Krüger-0/+5
docs: document trait upcasting rules in `Unsize` trait The trait upcasting feature stabilized in 1.86 added new `Unsize` implementation, but this wasn't reflected in the trait's documentation.
2025-07-10Rollup merge of #136906 - chenyukang:yukang-fix-136741-closure-body, r=oli-obkMatthias Krüger-28/+161
Add checking for unnecessary delims in closure body Fixes #136741
2025-07-10use `intrinsics::simd` for integer max/minFolkert de Vries-220/+80
2025-07-10update rust-dev-guide to point about new command execution summary report ↵bit-aloo-2/+9
under bootstrap profiling section
2025-07-10enable report summary when BOOTSTRAP_PROFILE is setbit-aloo-2/+14
2025-07-10expose report summary via buildbit-aloo-1/+5
2025-07-10update streaming to record its execution via commandprofilerbit-aloo-5/+11
2025-07-10add commandProfiler to bootstrap execution contextbit-aloo-1/+154
2025-07-10change cachekey to CommandFingerprint and change related API's and add start ↵bit-aloo-19/+34
time to deferred execution
2025-07-10core: add Peekable::next_if_mapkennytm-0/+189
2025-07-10Merge pull request #20054 from Young-Flash/folding_allShoyu Vanilla (Flint)-3/+52
feat: support folding multiline arg list & fn body in one folding range
2025-07-10Merge pull request #20223 from Hmikihiro/migrate_generate_implShoyu Vanilla (Flint)-9/+16
Migrate `generate_impl` assist to use `SyntaxEditor`
2025-07-10added error for invalid char castKivooeo-21/+222
2025-07-10Clarify `get_tool_target_compiler`Jakub Beránek-3/+9
2025-07-10Rename `for_compiler` to `for_use_by_compiler`Jakub Beránek-12/+15
2025-07-10use `splat` for the aarch64/arm dup intrinsicsFolkert de Vries-67/+44
2025-07-10Auto merge of #143721 - tgross35:rollup-sjdfp6r, r=tgross35bors-525/+2095
Rollup of 9 pull requests Successful merges: - rust-lang/rust#141996 (Fix `proc_macro::Ident`'s handling of `$crate`) - rust-lang/rust#142950 (mbe: Rework diagnostics for metavariable expressions) - rust-lang/rust#143011 (Make lint `ambiguous_glob_imports` deny-by-default and report-in-deps) - rust-lang/rust#143265 (Mention as_chunks in the docs for chunks) - rust-lang/rust#143270 (tests/codegen/enum/enum-match.rs: accept negative range attribute) - rust-lang/rust#143298 (`tests/ui`: A New Order [23/N]) - rust-lang/rust#143396 (Move NaN tests to floats/mod.rs) - rust-lang/rust#143398 (tidy: add support for `--extra-checks=auto:` feature) - rust-lang/rust#143644 (Add triagebot stdarch mention ping) r? `@ghost` `@rustbot` modify labels: rollup
2025-07-10Add regression test for #143107Guillaume Gomez-0/+41
2025-07-10Migrate `generate_impl` assist to use `SyntaxEditor`Hayashi Mikihiro-9/+16
2025-07-10Merge pull request #2501 from Kobzol/compiler-builtins-josh许杰友 Jieyou Xu (Joe)-1/+2
2025-07-10Migrate rustc-pull to CI workflow from `josh-sync`Jakub Beránek-102/+9
2025-07-10Mention that compiler-builtins is now using `rustc-josh-sync`Jakub Beránek-1/+2
2025-07-10Add documentation about subtree syncJakub Beránek-0/+9
2025-07-10Propagate from borrowed locals in CopyPropTomasz Miąsko-142/+97
2025-07-10Make some "safe" llvm ops actually soundOli Scherer-7/+9
2025-07-10Rollup merge of #143644 - Kobzol:stdarch-mention, r=AmanieuTrevor Gross-0/+9
Add triagebot stdarch mention ping r? ````@Amanieu````
2025-07-10Rollup merge of #143398 - lolbinarycat:tidy-extra-checks-auto, r=KobzolTrevor Gross-48/+241
tidy: add support for `--extra-checks=auto:` feature in preparation for rust-lang/rust#142924 also heavily refactored the parsing of the `--extra-checks` argument to warn about improper usage. cc ```@GuillaumeGomez``` r? ```@Kobzol```
2025-07-10Rollup merge of #143396 - rocurley:float_tests_refactor, r=tgross35Trevor Gross-56/+23
Move NaN tests to floats/mod.rs This PR moves NaN tests to `floats/mod.rs`, as discussed in rust-lang/rust#141726. Since this is my first PR against Rust, I'm keeping it as small as possible, but I intend to work my way through the remaining tests and can do that work in this PR if that's preferable. r? RalfJung
2025-07-10Rollup merge of #143298 - Kivooeo:tf23, r=tgross35Trevor Gross-121/+161
`tests/ui`: A New Order [23/N] > [!NOTE] > > Intermediate commits are intended to help review, but will be squashed prior to merge. Some `tests/ui/` housekeeping, to trim down number of tests directly under `tests/ui/`. Part of rust-lang/rust#133895. r? ``@tgross35``