Skip to content

Rustc pull update #2519

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 34 commits into from
Jul 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
5088611
Auto merge of #144062 - bjorn3:lto_refactors2, r=davidtwco
bors Jul 24, 2025
4c0d7c0
Rename tests/ui/SUMMARY.md and update rustc dev guide on error-pattern
Oneirical Jul 23, 2025
805fa83
Rollup merge of #142569 - xizheyin:139253, r=davidtwco
matthiaskrgr Jul 25, 2025
5141423
Rollup merge of #143401 - Enselic:no-stack-backtrace-print-in-display…
matthiaskrgr Jul 25, 2025
23035ef
Rollup merge of #143424 - hkBst:auto-deref, r=jhpratt
matthiaskrgr Jul 25, 2025
d8eaf05
Rollup merge of #143970 - SunkenPotato:update_mem_copy_docs, r=scottmcm
matthiaskrgr Jul 25, 2025
5f4d029
Rollup merge of #143979 - dpaoliello:arm64ectest, r=petrochenkov
matthiaskrgr Jul 25, 2025
1320b5b
Rollup merge of #144200 - estebank:dont-point-at-closure, r=lcnr
matthiaskrgr Jul 25, 2025
b369240
Rollup merge of #144340 - Oneirical:uncertain-illusion, r=jieyouxu
matthiaskrgr Jul 25, 2025
e16518f
Rollup merge of #144368 - petrochenkov:rmrootscope, r=b-naber
matthiaskrgr Jul 25, 2025
87f09c9
Rollup merge of #144390 - oli-obk:arbitrary-enum-discrs, r=SparrowLii
matthiaskrgr Jul 25, 2025
765f77a
Rollup merge of #144392 - makai410:rm-mov, r=scottmcm
matthiaskrgr Jul 25, 2025
2f09023
Auto merge of #144440 - matthiaskrgr:rollup-peb88gb, r=matthiaskrgr
bors Jul 25, 2025
4782512
Auto merge of #144449 - flip1995:clippy-subtree-update, r=Manishearth
bors Jul 25, 2025
c8b5269
Auto merge of #144338 - weihanglo:update-cargo, r=weihanglo
bors Jul 25, 2025
514982d
Auto merge of #139597 - Kobzol:lint-skip, r=BoxyUwU
bors Jul 26, 2025
ec64da8
Rollup merge of #144331 - jplatte:matches-allow-non_exhaustive_omitte…
matthiaskrgr Jul 26, 2025
ba30904
Rollup merge of #144376 - estebank:issue-143795, r=lcnr
matthiaskrgr Jul 26, 2025
c1aeb61
Rollup merge of #144421 - JonathanBrouwer:cleanup-malformed-list, r=o…
matthiaskrgr Jul 26, 2025
a7f17de
Rollup merge of #144424 - BoxyUwU:release_blog_post_unauthorized_user…
matthiaskrgr Jul 26, 2025
0a3f54f
Rollup merge of #144435 - tshepang:rdg-sync, r=jieyouxu
matthiaskrgr Jul 26, 2025
5eba4b7
Rollup merge of #144448 - camsteffen:defaultness-impl-trait-only, r=c…
matthiaskrgr Jul 26, 2025
60b93bb
Rollup merge of #144462 - Kobzol:pretty-print-self-profile-args, r=Ra…
matthiaskrgr Jul 26, 2025
966c192
Rollup merge of #144463 - ognevny:change-tracker-typo, r=Kobzol
matthiaskrgr Jul 26, 2025
381abb6
Rollup merge of #144468 - petrochenkov:resolution, r=lqd,SparrowLii
matthiaskrgr Jul 26, 2025
8f5abb7
Auto merge of #144502 - matthiaskrgr:rollup-o81uk9m, r=matthiaskrgr
bors Jul 26, 2025
4e6cc4d
Auto merge of #143500 - compiler-errors:characterize-less, r=lcnr
bors Jul 26, 2025
5c1566c
Auto merge of #143860 - scottmcm:transmute-always-rvalue, r=WaffleLapkin
bors Jul 26, 2025
d19d5da
Auto merge of #144347 - scottmcm:ssa-enums-v0, r=WaffleLapkin
bors Jul 27, 2025
441350a
Auto merge of #144425 - nnethercote:avoid-new_adt-new_fn_def, r=compi…
bors Jul 27, 2025
a330aad
Auto merge of #144434 - nnethercote:preintern-ty-bounds, r=compiler-e…
bors Jul 27, 2025
dde2393
Auto merge of #144225 - purplesyringa:unwinding-intrinsics, r=nikic
bors Jul 27, 2025
3a02592
Prepare for merging from rust-lang/rust
invalid-email-address Jul 28, 2025
3ecf508
Merge ref '2b5e239c6b86' from rust-lang/rust
invalid-email-address Jul 28, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rust-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
efd420c770bb179537c01063e98cb6990c439654
2b5e239c6b86cde974b0ef0f8e23754fb08ff3c5
8 changes: 4 additions & 4 deletions src/tests/ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,8 @@ fn main((ؼ

Use `//~?` to match an error without line information.
`//~?` is precise and will not match errors if their line information is available.
It should be preferred to using `error-pattern`, which is imprecise and non-exhaustive.
For tests wishing to match against compiler diagnostics, error annotations should
be preferred over //@ error-pattern, //@ error-pattern is imprecise and non-exhaustive.

```rust,ignore
//@ compile-flags: --print yyyy
Expand Down Expand Up @@ -347,8 +348,6 @@ fn main() {
}
```

Use of `error-pattern` is not recommended in general.

For strict testing of compile time output, try to use the line annotations `//~` as much as
possible, including `//~?` annotations for diagnostics without spans.

Expand All @@ -359,7 +358,8 @@ Some of the compiler messages can stay uncovered by annotations in this mode.

For checking runtime output, `//@ check-run-results` may be preferable.

Only use `error-pattern` if none of the above works.
Only use `error-pattern` if none of the above works, such as when finding a
specific string pattern in a runtime panic output.

Line annotations `//~` and `error-pattern` are compatible and can be used in the same test.

Expand Down