Jakub Beránek
62639c9b56
Port more tests to snapshot tests
2025-06-23 16:56:30 +02:00
gstjepan2
a3ede1038f
Fixes firefox copy paste issue
2025-06-23 16:39:31 +02:00
Guillaume Gomez
3b5525bc42
Improve code and documentation
2025-06-23 16:12:49 +02:00
Guillaume Gomez
78cbcaffea
Update tests to work with new DocFragment field and redundant_explicit_links new API
2025-06-23 16:02:34 +02:00
Guillaume Gomez
987c2ffd55
Update clippy source code to changes on source_span_for_markdown_range
2025-06-23 16:02:34 +02:00
Guillaume Gomez
a0d64177f0
Add ui test for redundant_explicit_links rustdoc lint for items coming from expansion
2025-06-23 16:02:33 +02:00
Guillaume Gomez
7e683cc4d1
Do not emit redundant_explicit_links rustdoc lint if the doc comment comes from expansion
2025-06-23 16:02:33 +02:00
Kivooeo
793607059b
cleaned up some tests
2025-06-23 18:53:56 +05:00
Alice Ryhl
6a1b7df485
Use a NonNull pointer
2025-06-23 13:45:56 +00:00
bors
42245d34d2
Auto merge of #142906 - jdonszelmann:rollup-togt1dl, r=jdonszelmann
...
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-23 12:38:27 +00:00
Lukas Wirth
6c3a870545
Merge pull request #20069 from Veykril/push-mnqkqxomtlxn
...
fix: Fix cargo project manifest not pointing to the workspace root
2025-06-23 12:19:41 +00:00
Lukas Wirth
d0ebff0430
fix: Fix cargo project manifest not pointing to the workspace root
2025-06-23 14:04:57 +02:00
Trevor Gross
cf5eb27910
mbe: Restructure macro_metavar_expr tests
...
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-23 06:25:55 -05:00
Petr Sumbera
c7bfb114b7
Fix install-template.sh for Solaris tr
2025-06-23 13:16:08 +02:00
Guillaume Gomez
4780f21fe5
Move error code explanation removal check into tidy
2025-06-23 13:16:00 +02:00
Guillaume Gomez
66060e6475
Create new CiInfo type in tidy checks to centralize CI related checks
2025-06-23 13:15:58 +02:00
Jana Dönszelmann
3e8e06545e
Rollup merge of #142904 - tshepang:patch-1, r=jieyouxu
...
notify me when rdg is touched
r? jieyouxu
2025-06-23 12:39:09 +02:00
Jana Dönszelmann
6cee0a6ead
Rollup merge of #142892 - jdonszelmann:fix-142891, r=oli-obk
...
Fix ICE on debug builds where lints are delayed on the crate root
r? ``@oli-obk``
Closes rust-lang/rust#142891
thanks to ``@JonathanBrouwer`` for finding it!
2025-06-23 12:39:09 +02:00
Jana Dönszelmann
c8df66f84c
Rollup merge of #142822 - oli-obk:const-partial-eq, r=fee1-dead
...
Make `PartialEq` a `const_trait`
r? ``@fee1-dead`` or ``@compiler-errors``
something generally useful but also required for https://github.com/rust-lang/rust/pull/142789
2025-06-23 12:39:08 +02:00
Jana Dönszelmann
7df08be62c
Rollup merge of #142636 - lolbinarycat:bootstrap-example-unsection, r=Kobzol
...
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-23 12:39:07 +02:00
Jana Dönszelmann
b44d0c7da4
Rollup merge of #142493 - jdonszelmann:naked, r=oli-obk
...
rework `#[naked]` attribute parser
r? ``@oli-obk``
2025-06-23 12:39:07 +02:00
Jana Dönszelmann
5c0a625205
move naked checks out of check_attr.rs
2025-06-23 12:22:57 +02:00
Jana Dönszelmann
73bcf4c117
make warnings methods on cx so it's easier to emit them elsewhere too
2025-06-23 12:21:44 +02:00
Jana Dönszelmann
82cbc3a35e
rewrite #[naked] parser
2025-06-23 12:21:43 +02:00
Jana Dönszelmann
269b67d6b8
fix 142891
2025-06-23 12:20:02 +02:00
Jana Dönszelmann
2313d4c571
test for lint on root node crash
2025-06-23 12:17:57 +02:00
bjorn3
9f5fc01b8b
Rustup to rustc 1.89.0-nightly ( be19eda0d 2025-06-22)
2025-06-23 10:08:13 +00:00
bjorn3
fc8631bb1b
Sync from rust be19eda0dc
2025-06-23 09:59:06 +00:00
lcnr
e8e32c30c2
inspect: merge [Canonical]GoalEvaluation
2025-06-23 11:50:36 +02:00
lcnr
5132e6c540
evaluate_goal: avoid unnecessary step
2025-06-23 11:50:36 +02:00
Laurențiu Nicola
4b37534615
Merge pull request #20063 from lnicola/sync-from-rust
...
minor: sync from downstream
2025-06-23 09:44:54 +00:00
Wilfred Hughes
18855c9775
Document sysroot_project field in rust-project.json
2025-06-23 10:43:45 +01:00
bors
ae2fc9722f
Auto merge of #142792 - cuviper:version-1.90, r=cuviper
...
Bump the version number to 1.90.0
Part of the release process. This PR must not be rolled up.
r? cuviper
2025-06-23 09:36:06 +00:00
Tshepang Mbambo
9dd7bcb75a
notify me when rdg is touched
2025-06-23 11:33:23 +02:00
Laurențiu Nicola
3c4a690d01
Merge from rust-lang/rust
2025-06-23 12:17:31 +03:00
Laurențiu Nicola
3db7cffd54
Preparing for merge from rust-lang/rust
2025-06-23 12:17:08 +03:00
Oli Scherer
993344257d
Make PartialEq a const_trait
2025-06-23 08:45:26 +00:00
Camille GILLOT
2074013f44
Only store the LocalDefId instead of the whole instance.
2025-06-23 08:44:31 +00:00
Jakub Beránek
809f75058e
Remove build --stage 0 from CI scripts
2025-06-23 10:11:01 +02:00
Jakub Beránek
250804d171
Add snapshot tests for compiler builds
2025-06-23 10:11:01 +02:00
Jakub Beránek
ac8920fa4c
Do not allow building anything on stage 0
2025-06-23 10:11:01 +02:00
Jakub Beránek
9e08d8769d
Do not explicitly build Rustc when bootstrap is invoked with the 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-23 10:11:01 +02:00
Jakub Beránek
450a2d8dc1
Add Builder::std method for building a standard library
2025-06-23 10:11:01 +02:00
Jakub Beránek
332ae3b7e6
Add codegen timing section
2025-06-23 08:50:17 +02:00
bors
22be76b7e2
Auto merge of #142901 - matthiaskrgr:rollup-topt4p6, r=matthiaskrgr
...
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-23 06:37:23 +00:00
Marijn Schouten
707a6f5463
update to literal-escaper 0.0.4 for better API without unreachable and faster string parsing
2025-06-23 06:36:22 +00:00
Marijn Schouten
05b74d558f
update to literal-escaper 0.0.4 for better API without unreachable and faster string parsing
2025-06-23 06:36:22 +00:00
Matthias Krüger
110492092c
Rollup merge of #142875 - GuillaumeGomez:rustdoc-json-types-version-update, 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-23 06:07:21 +02:00
Matthias Krüger
57abad8cc5
Rollup merge of #142854 - folkertdev:centralize-min-function-alignment, r=workingjubilee
...
centralize `-Zmin-function-alignment` logic
tracking issue: https://github.com/rust-lang/rust/issues/82232
discussed in: https://github.com/rust-lang/rust/pull/142824#discussion_r2160056244
Apply the `-Zmin-function-alignment` value to the alignment field of the function attributes when those are created, so that individual backends don't need to consider it.
The one exception right now is cranelift, because it can't yet set the alignment for individual functions, but it can (and does) set the global minimum function alignment.
cc ``@RalfJung`` I think this is an improvement regardless, is there anything else that should be done for miri?
2025-06-23 06:07:20 +02:00
Matthias Krüger
2357fb05bb
Rollup merge of #142828 - Mark-Simulacrum:relnotes, r=Mark-Simulacrum
...
1.88.0 release notes
r? cuviper
2025-06-23 06:07:20 +02:00