about summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2025-06-24Move some `issues-*` tests to better homesTrevor Gross-3/+1
These tests were updated in the previous commit; while they are being cleaned up, move them to a non-issue directory.
2025-06-24Remove special casing in command factory (revert changes in ctx.ts), update ↵Mark Pots-12/+3
main.createCommands instead
2025-06-24Rollup merge of #140622 - petrochenkov:annusexp, r=jieyouxuGuillaume Gomez-76/+159
compiletest: Improve diagnostics for line annotation mismatches When some line annotations are missing or misplaced, compiletest reports an error, but the error is not very convenient. This PR attempts to improve the user experience. - The "expected ... not found" messages are no longer duplicated. - The `proc_res.status` and `proc_res.cmdline` message is no longer put in the middle of other messages describing the annotation mismatches, it's now put into the end. - Compiletest now makes suggestions if there are fuzzy matches between expected and actually reported errors (e.g. the annotation is put on a wrong line). - Missing diagnostic kinds are no longer produce an error eagerly, but instead treated as always mismatching kinds, so they can produce suggestions telling the right kind. I'll post screenshots in the thread below, but the behavior shown on the screenshots can be reproduced locally using the new test `tests/ui/compiletest-self-test/line-annotation-mismatches.rs`. This also fixes https://github.com/rust-lang/rust/issues/140940. r? ``@jieyouxu``
2025-06-24Merge pull request #20012 from lnicola/bump-literal-escaperLukas Wirth-169/+139
Update to literal-escaper 0.0.4
2025-06-24Merge pull request #20080 from Veykril/push-vnrwqppplykmLukas Wirth-39/+60
Cleanup `folding_ranges` and support more things
2025-06-24Cleanup `folding_ranges` and support more thingsLukas Wirth-39/+60
2025-06-24Merge pull request #20061 from ChayimFriedman2/wrap-ret-tyLukas Wirth-34/+133
fix: In "Wrap return type" assist, don't wrap exit points if they already have the right type
2025-06-24Merge pull request #20064 from Wilfred/document_sysroot_projectLukas Wirth-0/+3
Document sysroot_project field in rust-project.json
2025-06-24Merge pull request #20036 from Veykril/push-yquvoyrxkksxLukas Wirth-70/+70
Do not default to 'static for trait object lifetimes
2025-06-24Do not default to 'static for trait object lifetimesLukas Wirth-70/+70
We lack trait object default lifetime elision, so `'static` can be wrong at times, confusing the user
2025-06-24Merge pull request #20062 from ChayimFriedman2/doctestsLukas Wirth-0/+32
minor: Don't run doctests
2025-06-24Merge pull request #20072 from Veykril/push-sorvvvzskywvLukas Wirth-10/+44
fix: Respect `.cargo/config.toml` `build.target-dir`
2025-06-23Enable reproducible-build-2 for WindowsDaniel Paoliello-1/+7
2025-06-23Rollup merge of #142908 - psumbera:solaris-tr, r=jieyouxuJubilee-4/+4
Fix install-template.sh for Solaris tr Allow to run install.sh also on Solaris where tr is not GNU tr.
2025-06-23Rollup merge of #142827 - GuillaumeGomez:tidy-error-code-removal, r=KobzolJubilee-46/+103
Move error code explanation removal check into tidy Follow-up of https://github.com/rust-lang/rust/pull/142677. This PR replaces a shell script with rust code. r? ghost
2025-06-23feat: Extend vscode 'run' command with optional mode argument for running ↵Mark Pots-4/+70
test(s) or bin at keyboard cursor
2025-06-23compiletest: Improve diagnostics for line annotation mismatchesVadim Petrochenkov-76/+159
2025-06-23Merge pull request #20076 from ChayimFriedman2/faqLaurențiu Nicola-0/+12
docs: Add troubleshooting FAQ to the book
2025-06-23Add troubleshooting FAQ to the bookChayim Refael Friedman-0/+12
And one frequently asked question.
2025-06-23fix: Respect `.cargo/config.toml` `build.target-dir`Lukas Wirth-10/+44
2025-06-24fix: Use `ROOT` hygiene for `args` inside new `format_args!` expansionShoyu Vanilla-27/+36
2025-06-23Auto merge of #142907 - lnicola:sync-from-ra, r=lnicolabors-1241/+2756
Subtree update of `rust-analyzer` r? `@ghost`
2025-06-23Update clippy source code to changes on `source_span_for_markdown_range`Guillaume Gomez-2/+2
2025-06-23Merge pull request #20069 from Veykril/push-mnqkqxomtlxnLukas Wirth-1/+29
fix: Fix cargo project manifest not pointing to the workspace root
2025-06-23fix: Fix cargo project manifest not pointing to the workspace rootLukas Wirth-1/+29
2025-06-23mbe: Restructure `macro_metavar_expr` testsTrevor Gross-1/+0
These tests have expanded beyond the RFC, so rename the directory `rfc-3086-metavar-expr` to `metavar-expressions`. `concat` (which wasn't part of the RFC) now fits in this group, so merge its tests into the `metavar-expressions` directory. Additionally rename some related `issue-*` tests.
2025-06-23Fix install-template.sh for Solaris trPetr Sumbera-4/+4
2025-06-23Move error code explanation removal check into tidyGuillaume Gomez-2/+32
2025-06-23Create new `CiInfo` type in tidy checks to centralize CI related checksGuillaume Gomez-44/+71
2025-06-23Document sysroot_project field in rust-project.jsonWilfred Hughes-0/+3
2025-06-23Merge from rust-lang/rustLaurențiu Nicola-276/+508
2025-06-23Preparing for merge from rust-lang/rustLaurențiu Nicola-1/+1
2025-06-23Auto merge of #142901 - matthiaskrgr:rollup-topt4p6, r=matthiaskrgrbors-6/+31
Rollup of 5 pull requests Successful merges: - rust-lang/rust#141597 (Document subdirectories of UI tests with README files) - rust-lang/rust#142823 (Port `#[no_mangle]` to new attribute parsing infrastructure) - rust-lang/rust#142828 (1.88.0 release notes) - rust-lang/rust#142854 (centralize `-Zmin-function-alignment` logic) - rust-lang/rust#142875 (Check rustdoc-json-types FORMAT_VERSION is correctly updated) r? `@ghost` `@rustbot` modify labels: rollup
2025-06-23update to literal-escaper 0.0.4 for better API without `unreachable` and ↵Marijn Schouten-4/+5
faster string parsing
2025-06-23Rollup merge of #142875 - GuillaumeGomez:rustdoc-json-types-version-update, ↵Matthias Krüger-0/+25
r=Kobzol Check rustdoc-json-types FORMAT_VERSION is correctly updated Follow-up of https://github.com/rust-lang/rust/pull/142677. ``@nnethercote`` suggested that we should also ensure that the `FORMAT_VERSION` was only increased by 1 and we should check for it, this PR does it. cc ``@aDotInTheVoid`` r? ghost
2025-06-22Update cargoEric Huss-0/+0
2025-06-23Don't run doctestsChayim Refael Friedman-0/+32
2025-06-23In "Wrap return type" assist, don't wrap exit points if they already have ↵Chayim Refael Friedman-34/+133
the right type
2025-06-22Port `#[no_mangle]` to new attribute parsing infrastructureJonathan Brouwer-6/+6
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
2025-06-22Rollup merge of #142877 - ↵Guillaume Gomez-0/+3
yotamofek:pr/rustdoc/comment-eslint-installation-req, r=GuillaumeGomez Document why tidy checks if `eslint` is installed via `npm` Discussion here: rust-lang/rust#142851
2025-06-22Document why tidy checks if `eslint` is installed via `npm`Yotam Ofek-0/+3
2025-06-22Check rustdoc-json-types FORMAT_VERSION correct changeGuillaume Gomez-0/+25
2025-06-22Port `#[must_use]` to new attribute parsing infrastructureJonathan Brouwer-20/+40
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
2025-06-22Rollup merge of #142776 - dtolnay:hirattrstyle2, r=jdonszelmannJacob Pratt-3/+10
All HIR attributes are outer Fixes https://github.com/rust-lang/rust/issues/142649. Closes https://github.com/rust-lang/rust/pull/142759. All HIR attributes, including parsed and not yet parsed, will now be rendered as outer attributes by `rustc_hir_pretty`. The original style of the corresponding AST attribute(s) is not relevant for pretty printing, only for diagnostics. r? ````@jdonszelmann````
2025-06-22Merge pull request #20056 from ShoyuVanilla/fmt-args-newChayim Refael Friedman-46/+412
Minic rustc's new `format_args!` expansion
2025-06-22Minic rustc's new `format_args!` expansionShoyu Vanilla-41/+366
2025-06-22Implement region negation to minicore and add a flag `fmt_before_1_89_0`Shoyu Vanilla-8/+49
2025-06-22forward the bootstrap `runner` to `run-make`Folkert de Vries-1/+28
The runner was already forwarded to `compiletest`, this just passes it on to `run-make` and uses it in the `run` functions.
2025-06-21Merge pull request #20050 from ↵Chayim Refael Friedman-3/+11
LHolten/better-docs-for-exclude-imports-in-symbol-search Add better documentation for excluding imports from symbol search
2025-06-21All HIR attributes are outerDavid Tolnay-3/+10