about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2025-09-15replace some `#[const_trait]` with `const trait`Nathaniel McCallum-6/+3
2025-09-15Make llvm_enzyme a regular cargo featurebjorn3-15/+23
This makes it clearer that it is set by the build system rather than by the rustc that compiles the current rustc. It also avoids bootstrap needing to pass --check-cfg llvm_enzyme to rustc.
2025-09-15Split `FnCtxt::report_args_error` into subfunctionsSasha Pourcelot-1022/+1378
2025-09-15Fix feature gate teststiif-23/+24
2025-09-15tests/run-make: Update list of statically linked musl targetsJens Reidel-9/+1
All of the tier 3 targets in the list now link dynamically by default (except mips64el-unknown-linux-muslabi64, I overlooked that one). Adjust the list of targets expected to link statically accordingly. Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-09-15Add relnotes 1.90Boxy Uwu-0/+126
2025-09-15Auto merge of #146582 - Kobzol:cranelift-test-nightly, r=jieyouxubors-0/+1
Only run Cranelift dist test on nightly Fixes the test failure in https://github.com/rust-lang/rust/pull/146545. r? `@jieyouxu`
2025-09-15Only run Cranelift dist test on nightlyJakub Beránek-0/+1
2025-09-15Fix existing testEsteban Küber-17/+4
2025-09-15Silence inference error on `PatKind::Err`Esteban Küber-16/+9
2025-09-15Detect attempt to use var-args in closureEsteban Küber-9/+56
``` error: unexpected `...` --> $DIR/varargs-in-closure-isnt-supported.rs:5:20 | LL | let mut lol = |...| (); | ^^^ not a valid pattern | = note: C-variadic type `...` is not allowed here ```
2025-09-15Add documentation for select_where_possible and select_all_or_errortiif-1/+16
2025-09-15Fix the testcases to not use UnsizedConstParamTytiif-291/+218
2025-09-15Add check to make sure ConstParamTy impls of certain types are gated with ↵tiif-15/+23
#[unstable_feature_bound(unsized_const_params)]
2025-09-15Remove UnsizedConstParamTy trait and make it into an unstable impltiif-104/+14
2025-09-15Merge pull request #1919 from sayantn/fix-vreinterpretFolkert de Vries-9286/+6
Remove big-endian swizzles from `vreinterpret`
2025-09-15opt-dist: don't set `RUST_LOG=collector=debug`Maksim Bondarenkov-1/+0
see [Zulip discussion](https://rust-lang.zulipchat.com/#narrow/channel/122651-general/topic/opt-dist.3A.20do.20not.20set.20RUST_LOG.3Dcollector.3Ddebug.20forcefully)
2025-09-15Merge pull request #20669 from ChayimFriedman2/testing-guideLaurențiu Nicola-0/+107
internal: Add a testing guide
2025-09-15Add a testing guideChayim Refael Friedman-0/+107
2025-09-15Clarify that backtick escaping doesn't work for `@bors try jobs`Jakub Beránek-2/+3
2025-09-15compiletest: Enable new-output-capture by defaultZalathar-1/+1
2025-09-15Merge pull request #20667 from ChayimFriedman2/ns-cleanup2Chayim Refael Friedman-0/+34
internal: Add Regression Test For The One And The Only Issue #5514
2025-09-15Add Regression Test For The One And The Only Issue #5514Chayim Refael Friedman-0/+34
2025-09-15Merge pull request #20652 from ChayimFriedman2/cli-diagsLaurențiu Nicola-14/+56
internal: Improve `rust-analyzer diagnostics`
2025-09-15Merge pull request #20665 from ChayimFriedman2/error-notableShoyu Vanilla (Flint)-0/+29
fix: Don't mark unknown type as implementing every notable trait
2025-09-15Merge pull request #20666 from ChayimFriedman2/ns-cleanup1Chayim Refael Friedman-1/+137
minor: Add regression tests to some S-blocked-on-new-solver issues
2025-09-15Add regression tests to some S-blocked-on-new-solver issuesChayim Refael Friedman-1/+137
That were fixed by the migration.
2025-09-15Don't mark unknown type as implementing every notable traitChayim Refael Friedman-0/+29
Because the new solver, will return "yes" for them (which is a good thing).
2025-09-15Auto merge of #146572 - matthiaskrgr:rollup-gotklb6, r=matthiaskrgrbors-116/+261
Rollup of 8 pull requests Successful merges: - rust-lang/rust#143314 (add reference id to test, and fix filename) - rust-lang/rust#146284 (Remove `div_rem` from `core::num::bignum`) - rust-lang/rust#146416 (Tidy dependency checks cleanups + QoL) - rust-lang/rust#146471 (bootstrap: Show target in "No such target exists" message) - rust-lang/rust#146478 (Improve `core::fmt` coverage) - rust-lang/rust#146480 (tests: update new test to accept new lifetime format) - rust-lang/rust#146488 (Improve `core::ptr` coverage) - rust-lang/rust#146501 (compiletest: Fix `--exact` test filtering) r? `@ghost` `@rustbot` modify labels: rollup
2025-09-15Rollup merge of #146501 - Enselic:x-test-filter, r=Mark-SimulacrumMatthias Krüger-11/+54
compiletest: Fix `--exact` test filtering This fix only changes the behavior when using `--exact` test filtering, which was quite broken. Before this fix, the following runs 0 tests: $ ./x test tests/run-make/crate-loading -- --exact running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 431 filtered out; finished in 24.95µs With the fix the desired test is run: $ ./x test tests/run-make/crate-loading -- --exact running 1 tests test [run-make] tests/run-make/crate-loading ... ok Without `--exact` the set of run tests is unchanged. This still runs "too many" (cc rust-lang/rust#134341) tests $ ./x test tests/run-make/crate-loading running 3 tests test [run-make] tests/run-make/crate-loading-crate-depends-on-itself ... ok test [run-make] tests/run-make/crate-loading-multiple-candidates ... ok test [run-make] tests/run-make/crate-loading ... ok This still runs the one and only right test $ ./x test tests/ui/lint/unused/unused-allocation.rs running 1 tests test [ui] tests/ui/lint/unused/unused-allocation.rs ... ok ### Notes - I have not verified this on Windows which treats paths differently (but I see no reason why it should not work since my code should be platform agnostic).
2025-09-15Rollup merge of #146488 - ferrocene:pvdrz/improve-ptr-coverage, ↵Matthias Krüger-0/+8
r=Mark-Simulacrum Improve `core::ptr` coverage This PR improves the `core::ptr` coverage by adding a new test to `coretests` for the `<*const T>::is_aligned_to` method. r? libs
2025-09-15Rollup merge of #146480 - durin42:llvm-22-more-lifetime, r=Mark-SimulacrumMatthias Krüger-2/+2
tests: update new test to accept new lifetime format Same change as rust-lang/rust@258915a55539593423c3d4c30f7b741f65c56e51, just for a newly written test.
2025-09-15Rollup merge of #146478 - ferrocene:pvdrz/improve-fmt-coverage, ↵Matthias Krüger-0/+52
r=Mark-Simulacrum Improve `core::fmt` coverage This PR improves the `core::fmt` coverage by adding new tests to `coretests`
2025-09-15Rollup merge of #146471 - neuschaefer:no-target, r=Mark-SimulacrumMatthias Krüger-1/+1
bootstrap: Show target in "No such target exists" message This makes it a little easier to pinpoint the issue.
2025-09-15Rollup merge of #146416 - clubby789:tidy-deps-qol, r=jieyouxuMatthias Krüger-46/+143
Tidy dependency checks cleanups + QoL - Refactors the list of workspaces into a documented struct - Provide accurate line info in 'Go to ..... for the list' message - Print crate name on dependency issue (i.e. `dependency for rustc-main` instead of `dependency for .`
2025-09-15Rollup merge of #146284 - Kivooeo:blazing-fast-division-bignum, ↵Matthias Krüger-56/+0
r=Mark-Simulacrum Remove `div_rem` from `core::num::bignum` This fixes very old fixme that sounds like this ``` Stupid slow base-2 long division taken from https://en.wikipedia.org/wiki/Division_algorithm FIXME use a greater base ($ty) for the long division. ``` By deleting this method since it was never used
2025-09-15Rollup merge of #143314 - tshepang:fix-filename, r=compiler-errorsMatthias Krüger-0/+1
add reference id to test, and fix filename Noticed the filename is wrong, then took advantage of being there by adding Reference id
2025-09-15rustc_codegen_llvm: Adjust RISC-V inline assembly's clobber listTsukasa OI-1/+2
Despite that the `fflags` register (representing floating point exception flags) is stated as a flag register in the reference, it's not in the default clobber list of the RISC-V inline assembly and it would be better to fix it.
2025-09-14bootstrap.py: disable incremental build for bootstrap in CIbinarycat-0/+3
2025-09-14tidy: Remove `WorkspaceInfo` constructorclubby789-60/+90
2025-09-14Fix typo in error messageJules Bertholet-8/+8
2025-09-14Improve `rust-analyzer diagnostics`Chayim Refael Friedman-14/+56
In my experience the `processing <module>` messages make it harder to search for the actual diagnostics, so remove them and instead print the filename only if there is a diagnostic. Also allow choosing the minimum severity.
2025-09-14On FreeBSD, use readdir instead of readdir_rAlan Somers-57/+63
readdir_r has the same problems on FreeBSD as it does on other platforms: it assumes a fixed NAME_MAX. And readdir has the same thread-safety guarantee as it does on other platforms: it's safe as long as only one thread tries to read from the directory stream at a given time. Furthermore, readdir_r is likely to be removed for FreeBSD 16, so we should stop using it now.
2025-09-14Changelog for Clippy 1.90Alexey Semenyuk-1/+146
2025-09-14Switch `std::vec::PeekMut::pop` from self to this parameter.Sidney Cammeresi-4/+5
Since PeekMut implements Deref, it shouldn't have any methods of its own. See also: `std::collections::binary_heap::PeekMut::pop`
2025-09-14Refactor `ptr_offset_with_cast` (#15613)Samuel Tardieu-164/+209
Putting this lint in `/methods` is simpler and probably slightly more efficient. changelog: [`ptr_offset_with_cast`]: respect MSRV when suggesting fix, and lint even more cases
2025-09-14refactor `ptr_offset_with_cast`Folkert de Vries-164/+209
2025-09-14Elaborate comment.Camille Gillot-2/+6
2025-09-14Comment.Camille Gillot-0/+9
2025-09-14Merge pull request #20654 from ShoyuVanilla/predicatesChayim Refael Friedman-2/+61
fix: Infinite loop while elaborting predicates