about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
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-24Add change tracker entryJakub Beránek-0/+5
2025-06-24Merge pull request #20072 from Veykril/push-sorvvvzskywvLukas Wirth-10/+44
fix: Respect `.cargo/config.toml` `build.target-dir`
2025-06-24Tweak `-Zmacro-stats` measurement.Nicholas Nethercote-3/+3
It currently reports net size, i.e. size(output) - size(input). After some use I think this is sub-optimal, and it's better to just report size(output). Because for derive macros the input size is always 1, and for attribute macros it's almost always 1.
2025-06-24rustdoc-json: Keep empty generic args if parenthesizedMartin Nordholts-13/+16
Because in the case of for example pub fn my_fn3(f: impl FnMut()) {} we want to keep `()` even if it is empty since that matches e.g. Rust syntax requirements.
2025-06-23Enable reproducible-build-2 for WindowsDaniel Paoliello-1/+7
2025-06-23Rollup merge of #142922 - JonathanBrouwer:fix-rustdoc-comment, r=jdonszelmannJubilee-1/+2
Fix comment on NoMangle Fix comment on NoMangle. This was discussed in comments of https://github.com/rust-lang/rust/pull/142823#discussion_r2162219576 and https://github.com/rust-lang/rust/pull/142921
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-69/+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-23Fix hang in --print=file-names in bootstrapNoratrieb-0/+6
In an interactive context, the subprocess inherited a real tty stdin, which lead it it waiting for something to happen, even though nothing happened. By explicitly passing null as stdin we make sure an empty file is passed, which achieves the desired behavior.
2025-06-23Add `#[loop_match]` for improved DFA codegenbjorn3-0/+52
Co-authored-by: Folkert de Vries <folkert@folkertdev.nl>
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-23Fix comment on NoMangleJonathan Brouwer-1/+2
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
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-23Remove stdarch submodule checkoutJakub Beránek-7/+1
2025-06-23Port more tests to snapshot testsJakub Beránek-647/+614
2025-06-23Fixes firefox copy paste issuegstjepan2-1/+29
2025-06-23Improve code and documentationGuillaume Gomez-12/+22
2025-06-23Update tests to work with new DocFragment field and ↵Guillaume Gomez-0/+1
`redundant_explicit_links` new API
2025-06-23Update clippy source code to changes on `source_span_for_markdown_range`Guillaume Gomez-2/+2
2025-06-23Do not emit `redundant_explicit_links` rustdoc lint if the doc comment comes ↵Guillaume Gomez-22/+50
from expansion
2025-06-23Auto merge of #142906 - jdonszelmann:rollup-togt1dl, r=jdonszelmannbors-7/+24
Rollup of 5 pull requests Successful merges: - rust-lang/rust#142493 (rework `#[naked]` attribute parser) - rust-lang/rust#142636 (bootstrap.example.toml: use less contextual format) - rust-lang/rust#142822 (Make `PartialEq` a `const_trait`) - rust-lang/rust#142892 (Fix ICE on debug builds where lints are delayed on the crate root) - rust-lang/rust#142904 (notify me when rdg is touched) Failed merges: - rust-lang/rust#142827 (Move error code explanation removal check into tidy) r? `@ghost` `@rustbot` modify labels: rollup
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-25/+32
2025-06-23Create new `CiInfo` type in tidy checks to centralize CI related checksGuillaume Gomez-44/+71
2025-06-23Rollup merge of #142636 - lolbinarycat:bootstrap-example-unsection, r=KobzolJana Dönszelmann-7/+24
bootstrap.example.toml: use less contextual format prefixing each key with its section means you don't need to scroll up 4 pages to see which section a particular key is from. target specific options were kept in old format since the exact section name depends on the target, so those options must now be moved to the bottom of the file. [inspired by zulip discussion](https://rust-lang.zulipchat.com/#narrow/channel/326414-t-infra.2Fbootstrap/topic/consider.20rewriting.20bootstrap.2Eexample.2Etoml.20to.20use.20section.2Ekey/with/521734873) r? ``@workingjubilee``
2025-06-23Document sysroot_project field in rust-project.jsonWilfred Hughes-0/+3
2025-06-23Auto merge of #142792 - cuviper:version-1.90, r=cuviperbors-1/+1
Bump the version number to 1.90.0 Part of the release process. This PR must not be rolled up. r? cuviper
2025-06-23Merge from rust-lang/rustLaurențiu Nicola-1822/+2157
2025-06-23Preparing for merge from rust-lang/rustLaurențiu Nicola-1/+1
2025-06-23Remove `build --stage 0` from CI scriptsJakub Beránek-2/+2
2025-06-23Add snapshot tests for compiler buildsJakub Beránek-4/+182
2025-06-23Do not allow building anything on stage 0Jakub Beránek-2/+7
2025-06-23Do not explicitly build `Rustc` when bootstrap is invoked with the ↵Jakub Beránek-0/+6
`compiler` path It was confusing that the `Rustc` step was invoked twice, once with all crates and once with no crates (even though both of these mean the same thing).
2025-06-23Add `Builder::std` method for building a standard libraryJakub Beránek-41/+84
2025-06-23Auto merge of #142901 - matthiaskrgr:rollup-topt4p6, r=matthiaskrgrbors-24/+52
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-23Rollup merge of #142823 - JonathanBrouwer:no_mangle_parser, r=jdonszelmannMatthias Krüger-24/+22
Port `#[no_mangle]` to new attribute parsing infrastructure Ports `no_mangle` to the new attribute parsing infrastructure for https://github.com/rust-lang/rust/issues/131229#issuecomment-2971353197 r? ``@jdonszelmann``