about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2025-09-17Use `LLVMDIBuilderCreateArrayType`Zalathar-25/+15
2025-09-17Use `LLVMDIBuilderCreateUnionType`Zalathar-34/+25
2025-09-17Use `LLVMDIBuilderCreateSubroutineType`Zalathar-19/+23
2025-09-17Merge pull request #20379 from skewb1k/fix/consistent-hover-doc-breaksChayim Refael Friedman-42/+42
fix(hover): unify horizontal rule formatting to `---`
2025-09-16Bless ui.Camille Gillot-25/+21
2025-09-16Do not renumber resume local.Camille Gillot-252/+228
2025-09-16Add test.Camille Gillot-11/+453
2025-09-16Add test.Camille Gillot-1/+724
2025-09-16Remove Rvalue::Len.Camille Gillot-1/+1
2025-09-16Update docs.Camille Gillot-1/+2
2025-09-16Remove Rvalue::Len.Camille Gillot-291/+656
2025-09-16Fix `unnecessary_unwrap` false negative when unwrapping a known value inside ↵galileocap-1/+58
a macro call Fixes https://github.com/rust-lang/rust-clippy/issues/12295 changelog: [`unnecessary_unwrap`]: Fix false negative when unwrapping a known value inside a macro call
2025-09-16Enable DestinationPropagation by default.Camille GILLOT-923/+590
2025-09-16Auto merge of #146650 - matthiaskrgr:rollup-rjrklz9, r=matthiaskrgrbors-43/+183
Rollup of 5 pull requests Successful merges: - rust-lang/rust#146442 (Display ?Sized, const, and lifetime parameters in trait item suggestions across a crate boundary) - rust-lang/rust#146474 (Improve `core::ascii` coverage) - rust-lang/rust#146605 (Bump rustfix 0.8.1 -> 0.8.7) - rust-lang/rust#146611 (bootstrap: emit hint if a config key is used in the wrong section) - rust-lang/rust#146618 (Do not run ui test if options specific to LLVM are used when another codegen backend is used) r? `@ghost` `@rustbot` modify labels: rollup
2025-09-16Update cargo submoduleWeihang Lo-0/+0
2025-09-16add Readme.md to tidyT-1/+115
update Readme add info about githooks and bootstrap.toml add info about config and remove linting specific files add link to rustc-dev-guide
2025-09-16Do not use `git -C dir`Samuel Tardieu-3/+3
Older versions of git (≤ 1.8.5) do not support the `-C dir` global option. Use the `cwd` optional argument when using Python's `subprocess` functionality instead.
2025-09-16Update the FIXME comments in the generic three_way_compareJosh Stone-8/+11
2025-09-16Merge similar output checks in assembly-llvm/x86_64-cmpJosh Stone-16/+7
2025-09-16Update the minimum external LLVM to 20Josh Stone-595/+157
2025-09-16Auto merge of #138271 - mu001999-contrib:fix-138234, r=jackh726bors-0/+73
Keep space if arg does not follow punctuation when lint unused parens Fixes rust-lang/rust#138234 If the arg follows punctuation, still pass `left_pos` with `None` and no space will be added, else then pass `left_pos` with `Some(arg.span.lo())`, so that we can add the space as expected. And `emit_unused_delims` can make sure no more space will be added if the expr follows space. --- Edited: Directly use the `value_span` to check whether the expr removed parens will follow identifier or be followed by identifier.
2025-09-16Rollup merge of #146618 - GuillaumeGomez:backend-run-llvm-options, r=kobzolMatthias Krüger-5/+12
Do not run ui test if options specific to LLVM are used when another codegen backend is used Based on errors in https://github.com/rust-lang/rust/pull/146414, some tests with LLVM-specific options are run when another codegen is actually the one used. This PR ignores these tests in such cases now to prevent this situation. r? `@kobzol`
2025-09-16Rollup merge of #146611 - ↵Matthias Krüger-11/+98
lolbinarycat:bootstrap-toml-wrong-section-diagnostic, r=Kobzol bootstrap: emit hint if a config key is used in the wrong section based on discussion on rust-lang/rust#146591 now, if the user puts `build.download-rustc` in `bootstrap.toml`, they'll get a diagnostic: ``hint: try moving `download-rustc` to the `rust` section`` and if they nest things too much (`rust.rust.download-rustc`): ``hint: section name `rust` used as a key within a section`` if they specify a top-level key within a section (`rust.profile`): ``hint: try using `profile` as a top level key`` r? `@Kobzol`
2025-09-16Rollup merge of #146605 - jyn514:update-rustfix, r=nnethercoteMatthias Krüger-10/+10
Bump rustfix 0.8.1 -> 0.8.7 This commit can be replicated by running `cargo update -p rustfix --precise 0.8.7 && x test ui --bless`. --- The reasons this affects UI tests is as follows: - The UI test suite runs rustc with `-Z deduplicate-diagnostics=no --error-format=json`, which means that rustc emits multiple errors containing identical suggestions. That caused the weird-looking code that had multiple `X: Copy` suggestions. - Those suggestions are interpreted not by rustc itself, but by the `rustfix` library, maintained by cargo but published as a separate crates.io library and used by compiletest. - Sometime between rustfix 0.8.1 and 0.8.7 (probably in rust-lang/cargo#14747, but it's hard to tell because rustfix's versioning doesn't match cargo's), rustfix got smarter and stopped applying duplicate suggestions. Update rustfix to match cargo's behavior. Ideally, we would always share a version of rustfix between cargo and rustc (perhaps with a path dependency?), to make sure we are testing the behavior we ship. But for now, just manually update it to match. Note that the latest version of rustfix published to crates.io is 0.9.1, not 0.8.7. But 0.9.1 is not the version used in cargo, which is 0.9.3. Rather than trying to match versions exactly, I just updated rustfix to the latest in the 0.8 branch.
2025-09-16Rollup merge of #146474 - ferrocene:pvdrz/improve-ascii-coverage, r=NoratriebMatthias Krüger-0/+7
Improve `core::ascii` coverage This PR improves the `core::ascii` coverage by adding a new test to `coretests` r? `@workingjubilee`
2025-09-16Rollup merge of #146442 - Qelxiros:trait-suggestion-generics, r=BoxyUwUMatthias Krüger-17/+56
Display ?Sized, const, and lifetime parameters in trait item suggestions across a crate boundary context: rust-lang/rust#145929 This fixes the MetaSized issue and adds const generics and early bound lifetimes. Late bound lifetimes are harder because they aren't returned by `generics_of`. I'm going to look into it, but there's no guarantee I'll be successful. Fixes https://github.com/rust-lang/rust/issues/146404. r? `@BoxyUwu`
2025-09-16Detect top-level `...` in argument typeEsteban Küber-9/+36
When writing something like the expression `|_: ...| {}`, we now detect the `...` during parsing explicitly instead of relying on the detection in `parse_ty_common` so that we don't talk about "nested `...` are not supported". ``` error: unexpected `...` --> $DIR/no-closure.rs:6:35 | LL | const F: extern "C" fn(...) = |_: ...| {}; | ^^^ | = note: only `extern "C"` and `extern "C-unwind"` functions may have a C variable argument list ```
2025-09-16Merge pull request #20677 from ShoyuVanilla/fix-enaDavid Barsky-0/+6
Fix "sync-from-ra" for `rust-lang/rust`
2025-09-16cmse: fix 'region variables should not be hashed'Folkert de Vries-0/+40
2025-09-16Reword noteEsteban Küber-2/+2
2025-09-17Fix "sync-from-ra" for `rust-lang/rust`Shoyu Vanilla-0/+6
2025-09-16remove redundant testEsteban Küber-20/+0
2025-09-16fmtEsteban Küber-2/+3
2025-09-16ci: x86_64-gnu-tools: Add `--test-args` regression testMartin Nordholts-0/+7
2025-09-16bootstrap: emit hint if a config key is used in the wrong sectionbinarycat-11/+98
2025-09-16Changelog for Clippy 1.90 🍂 (#15670)Philipp Krones-1/+146
Violets are red, Roses are blue, As September leaves turn, Let what's old become new. ----- Meet George @DaBs's little (de)bugger, our winner at rust-lang/rust-clippy#15375 ![cat](https://github.com/user-attachments/assets/ae5877bb-4a5e-4490-aea6-de961627f097) ----- Cats for the next release can be traditionally nominated in the comments. Thanks @blyxyas for organizing the previous votes. changelog: none r? flip1995
2025-09-16Add span for struct tail recursion limit errorTawan Muadmuenwai-65/+111
2025-09-16Do not run ui test if options specific to llvm are used when another codegen ↵Guillaume Gomez-5/+12
backend is used
2025-09-16Improve `core::sync::atomic` coverageChristian Poveda-4/+240
2025-09-16Improve `core::ascii` coverageChristian Poveda-0/+7
2025-09-16handle const generics, ?Sized, early bound lifetimesJeremy Smart-17/+56
2025-09-16Mark some coverage-related bindings as safeZalathar-10/+14
2025-09-16Stop using `as_c_char_ptr` for coverage-related bindingsZalathar-7/+12
2025-09-16Keep space if expr follows identifier when lint unused parensMu001999-0/+73
2025-09-16Fix other uses of "adaptor"Joe Birr-Pixton-3/+3
2025-09-16Fix spelling of "adaptor"Joe Birr-Pixton-1/+1
These docs are in en_US, so "adapter" is the correct spelling (and indeed used in the next line.)
2025-09-16Iterator repeat: no infinite loop for `last` and `count`Marijn Schouten-3/+4
2025-09-16Add parallel-frontend-threads to bootstrap.toml and enable multi-threaded ↵Haidong Zhang-1/+30
parallel compilation
2025-09-16Merge pull request #4588 from RalfJung/rustupRalf Jung-2/+3
rustup
2025-09-16Auto merge of #146516 - cjgillot:dest-prop-aggregate, r=Amanieubors-12/+164
DestinationPropagation: avoid creating overlapping assignments. r? `@Amanieu` Fixes https://github.com/rust-lang/rust/issues/146383