about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2025-08-13Add test for issue 122734Jamie Hill-Daniel-0/+78
2025-08-13Add a method to dump MIR in the middle of MIR buildingbjorn3-0/+22
This makes it easier to debug issues with MIR building by inserting dump_for_debugging calls around the suspected code responsible for the bad MIR.
2025-08-13`as_ptr_cast`: move the unfixable case into a separate fileAda Alakbarova-12/+67
allows creating `.fixed` for the main file
2025-08-13Add another example for escaped `#` character in doctest in rustdoc bookGuillaume Gomez-0/+14
2025-08-13doc test: fix mpsc.rs try_send doc testEval EXEC-2/+6
Signed-off-by: Eval EXEC <execvy@gmail.com>
2025-08-13Correctly handle when there are no unstable items in the documented crateGuillaume Gomez-1/+3
2025-08-13Print crate count for `check::Rustc` in snapshot testsJakub Beránek-9/+13
2025-08-13Use ci-mirrors for binutils in freebsd-toolchain.shNikita Popov-1/+3
2025-08-13suggest using `pub(crate)` for E0364Makai-1/+33
2025-08-13bootstrap: Fix jemalloc 64K page support for aarch64 toolsCathal Mullan-0/+9
2025-08-13add testlcnr-0/+17
2025-08-13`fn new_coroutine_witness_for_coroutine` woopslcnr-61/+63
2025-08-13rework `add_placeholder_from_predicate_note`lcnr-34/+84
2025-08-13also consider HR boundslcnr-3/+23
2025-08-13avoid duplicate error stringlcnr-1/+1
2025-08-13Fix dead link to Cargo.toml in documentationdonni-h-1/+1
../../Cargo.toml resolves to https://rust-analyzer.github.io/Cargo.toml, which is an invalid link
2025-08-13Auto merge of #144722 - ywxt:parallel-reproducibile, r=SparrowLiibors-88/+134
Fix parallel rustc not being reproducible due to unstable sorts of items Currently, A tuple `(DefId, SymbolName)` is used to determine the order of items in the final binary. However `DefId` is expected as non-deterministic, which leads to some not reproducible issues under parallel compilation. (See https://github.com/rust-lang/rust/issues/140425#issuecomment-3111802148) Theoretically, we don't need the sorting because the order of these items is already deterministic. However, codegen tests reply on the same order of items between in binary and source. So here we added a new option `codegen-source-order` to indicate whether sorting based on the order in source. For codegen tests, items are sorted according to the order in the source code, whereas in the normal path, no sorting is performed. Specially, for codegen tests, in preparation for parallel compilation potentially being enabled by default in the future, we use `Span` replacing `DefId` to make the order deterministic. This PR is purposed to fix rust-lang/rust#140425, but seemly works on rust-lang/rust#140413 too. This behavior hasn't added into any test until we have a test suit for the parallel frontend. (See https://github.com/rust-lang/rust/pull/143953) Related discussion: [Zulip](https://rust-lang.zulipchat.com/#narrow/channel/187679-t-compiler.2Fparallel-rustc/topic/Async.20closures.20not.20reproducible.28.23140425.29) https://github.com/rust-lang/rust/pull/144576 Update rust-lang/rust#113349 r? `@oli-obk` cc `@lqd` `@cramertj` `@matthiaskrgr` `@Zoxc` `@SparrowLii` `@bjorn3` `@cjgillot` `@joshtriplett`
2025-08-13Merge pull request #20446 from lcnr/kinda-unhelpful-3Lukas Wirth-81/+88
next-solver fun time
2025-08-13Remove the `libgccjit.so.0` alias and only create the versioned library when ↵Jakub Beránek-17/+9
installing `libgccjit.so`
2025-08-13manually normalize aliaslcnr-8/+3
2025-08-13layout_of uses `PostAnalysis`lcnr-2/+6
2025-08-13implement `type_of_opaque`lcnr-72/+69
2025-08-13Make sure that we won't accidentally ship libgccjit.so in the dist componentJakub Beránek-1/+13
2025-08-13fix scope of `super let` bindings within `if let`dianne-52/+54
They now use the enclosing temporary scope as their scope, regardless of which `ScopeData` was used to mark it.
2025-08-13add a test with incorrect `if let`-`super let` drop orderdianne-0/+112
2025-08-13Install libgccjit into the compiler's sysroot when the GCC codegen backend ↵Jakub Beránek-55/+82
is enabled
2025-08-13Merge pull request #20376 from fee1-dead/traitaliasLukas Wirth-591/+102
Merge Trait and TraitAlias handling
2025-08-13Merge pull request #20445 from rust-lang/veykril/push-twmmuyzwtxnoLukas Wirth-9/+11
fix: Attach db for inlay hint compute
2025-08-13update a few fixmes, and one trivial improvementlcnr-11/+22
2025-08-13Merge pull request #20444 from rust-lang/veykril/push-snuuupqnrqzxLukas Wirth-29/+37
minor: Print fields of interned IDs in hir-ty instead of just the ID
2025-08-13fix: Attach db for inlay hint computeLukas Wirth-9/+11
2025-08-13fix errors after rebaseDeadbeef-14/+13
2025-08-13Fix metrics checking out repos into toplevel folder instead of `target`Lukas Wirth-8/+12
2025-08-13Print fields of interned IDs in hir-ty instead of just the IDLukas Wirth-21/+25
2025-08-13add test for trait alias projectionsDeadbeef-0/+21
2025-08-13Merge Trait and TraitAlias handlingDeadbeef-577/+68
2025-08-13Auto merge of #145334 - Kobzol:rollup-fs5a133, r=Kobzolbors-322/+1268
Rollup of 11 pull requests Successful merges: - rust-lang/rust#143467 (Add ASCII-related methods from `u8` and `MIN`/`MAX` to `core::ascii::Char`) - rust-lang/rust#144519 (Constify `SystemTime` methods) - rust-lang/rust#144642 (editorconfig: don't trim trailing whitespace in tests) - rust-lang/rust#144870 (Stabilize `path_file_prefix` feature) - rust-lang/rust#145269 (Deprecate RUST_TEST_* env variables) - rust-lang/rust#145274 (Remove unused `#[must_use]`) - rust-lang/rust#145289 (chore(ci): upgrade checkout to v5) - rust-lang/rust#145303 (Docs: Link to payload_as_str() from payload().) - rust-lang/rust#145308 (Adjust documentation of `dangling`) - rust-lang/rust#145320 (Allow cross-compiling the Cranelift dist component) - rust-lang/rust#145325 (Add `cast_init` and `cast_uninit` methods for pointers) r? `@ghost` `@rustbot` modify labels: rollup
2025-08-13check args in new_coroutine_witnesslcnr-2/+5
2025-08-13Bless testsJakub Beránek-1/+7
2025-08-13Manually optimize steps performed by `x clippy ci`Jakub Beránek-25/+32
2025-08-13Only check rustc when linting rustc_codegen_gccJakub Beránek-8/+7
2025-08-13Add change tracker entryJakub Beránek-0/+5
2025-08-13Lint code in CI using in-tree ClippyJakub Beránek-1/+1
2025-08-13Add more testsJakub Beránek-9/+83
2025-08-13Fix staging of linting toolsJakub Beránek-36/+38
2025-08-13Fix staging for `x clippy std`Jakub Beránek-56/+67
2025-08-13Add snapshot test for `x clippy std`Jakub Beránek-0/+17
2025-08-13Fix Clippy staging for compilerJakub Beránek-53/+84
2025-08-13Add snapshot test for `x clippy ci`Jakub Beránek-0/+57
2025-08-13Forbid running Clippy on stage 0Jakub Beránek-0/+4