Skip to content
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

Rustc pull update #2291

Open
wants to merge 68 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
f6940a6
Add a note to rustc-dev-guide
Kobzol Mar 16, 2025
cc78cd7
Rollup merge of #138384 - nnethercote:hir-ItemKind-idents, r=fmease
matthiaskrgr Mar 17, 2025
ad99f87
Rollup merge of #138508 - hkBst:patch-3, r=wesleywiser
matthiaskrgr Mar 17, 2025
2530900
Rollup merge of #138531 - Kobzol:test-diff-try-build, r=marcoieni
matthiaskrgr Mar 17, 2025
7ceeee7
Rollup merge of #138533 - Kobzol:try-job-auto-tests, r=marcoieni
matthiaskrgr Mar 17, 2025
5acc65c
Rollup merge of #138556 - charmitro:already-remapped-filename, r=Guil…
matthiaskrgr Mar 17, 2025
3008fa5
Rollup merge of #138608 - heiher:issue-116344, r=RalfJung
matthiaskrgr Mar 17, 2025
ac6d7bc
Rollup merge of #138619 - yotamofek:pr/codegen_ssa/flatten-ifs, r=lcnr
matthiaskrgr Mar 17, 2025
eeeb05f
Auto merge of #138630 - matthiaskrgr:rollup-kk1gogr, r=matthiaskrgr
bors Mar 18, 2025
e616859
Auto merge of #135368 - Ayush1325:uefi-fs-2, r=jhpratt,nicholasbishop
bors Mar 18, 2025
39a4a08
Auto merge of #138690 - jieyouxu:temp-disable-fuchsia, r=Kobzol
bors Mar 19, 2025
56db127
Rollup merge of #136177 - hkBst:patch-24, r=ibraheemdev
matthiaskrgr Mar 19, 2025
12895be
Rollup merge of #138654 - bjorn3:remove_coretests_regex, r=tgross35
matthiaskrgr Mar 19, 2025
7d4c53d
Rollup merge of #138655 - Kobzol:rdg-sync, r=jieyouxu
matthiaskrgr Mar 19, 2025
9a76fe6
Rollup merge of #138656 - Kobzol:post-merge-unnest, r=marcoieni
matthiaskrgr Mar 19, 2025
809989a
Rollup merge of #138658 - marcoieni:mirror-alpine-and-centos, r=Kobzol
matthiaskrgr Mar 19, 2025
cf76e5a
Rollup merge of #138659 - Zalathar:no-body-span, r=oli-obk
matthiaskrgr Mar 19, 2025
ee2d398
Rollup merge of #138661 - RalfJung:revert-rustc-dev-breakage, r=petro…
matthiaskrgr Mar 19, 2025
6c9be37
Rollup merge of #138670 - compiler-errors:remove-afidt, r=oli-obk
matthiaskrgr Mar 19, 2025
79ea1ec
Rollup merge of #138674 - oli-obk:llvm-cleanups, r=compiler-errors
matthiaskrgr Mar 19, 2025
710d64f
Rollup merge of #138684 - bend-n:use_then, r=jhpratt
matthiaskrgr Mar 19, 2025
bbbf7a0
Auto merge of #138693 - matthiaskrgr:rollup-ejq8mwp, r=matthiaskrgr
bors Mar 19, 2025
716e784
Auto merge of #122156 - Zoxc:side-effect-dep-node, r=oli-obk
bors Mar 19, 2025
35274e2
Auto merge of #138687 - calebzulawski:sync-from-portable-simd-2025-03…
bors Mar 20, 2025
0da80bb
Disambiguate between wg-llvm and icebreakers-llvm in rustc-dev-guide
jieyouxu Mar 20, 2025
96a3c76
Auto merge of #138695 - nikic:llvm-20.1.1, r=dianqk
bors Mar 20, 2025
ac2fb39
Auto merge of #133889 - compiler-errors:inh-unstable, r=Nadrieril
bors Mar 20, 2025
28b1509
Rollup merge of #138435 - eholk:prefix-yield, r=oli-obk
matthiaskrgr Mar 20, 2025
cbf641a
Rollup merge of #138685 - nnethercote:use-Option-Ident-for-lowered-pa…
matthiaskrgr Mar 20, 2025
6e630da
Rollup merge of #138700 - xizheyin:issue-138612, r=Nadrieril
matthiaskrgr Mar 20, 2025
38d0d9e
Rollup merge of #138735 - jieyouxu:drop-llvm-alias, r=nikic
matthiaskrgr Mar 20, 2025
a64cd9e
Auto merge of #138515 - petrochenkov:cfgtrace, r=nnethercote
bors Mar 20, 2025
c0c1f18
Auto merge of #138747 - matthiaskrgr:rollup-68x44rw, r=matthiaskrgr
bors Mar 20, 2025
28fe5b6
Auto merge of #138761 - flip1995:clippy-subtree-update, r=Manishearth
bors Mar 21, 2025
e9b51bd
Auto merge of #128320 - saethlin:link-me-maybe, r=compiler-errors
bors Mar 21, 2025
1e023e0
Auto merge of #138719 - lcnr:concrete_opaque_types-closures, r=oli-obk
bors Mar 22, 2025
b0756e5
Auto merge of #136974 - m-ou-se:fmt-options-64-bit, r=scottmcm
bors Mar 22, 2025
ac045dc
Auto merge of #136769 - thaliaarchi:io-optional-methods/stdio, r=joboet
bors Mar 23, 2025
bd6f8e3
Auto merge of #138629 - Zoxc:graph-anon-hashmap, r=oli-obk
bors Mar 24, 2025
9d9828c
Auto merge of #133984 - DaniPopes:scmp-ucmp, r=scottmcm
bors Mar 24, 2025
90806ec
Auto merge of #138634 - saethlin:repeated-uninit, r=scottmcm,oli-obk
bors Mar 25, 2025
8194ffc
Auto merge of #136410 - saethlin:clean-up-cgu-internal-copy, r=compil…
bors Mar 25, 2025
2e81955
compiletest: Support matching on diagnostics without a span
petrochenkov Mar 23, 2025
67d615e
Auto merge of #138865 - petrochenkov:errwhere, r=jieyouxu
bors Mar 25, 2025
0e2bbd7
Auto merge of #138933 - matthiaskrgr:rollup-sjtqkoq, r=matthiaskrgr
bors Mar 25, 2025
e2dbc25
Auto merge of #138601 - RalfJung:wasm-abi-fcw, r=alexcrichton
bors Mar 26, 2025
ce91cd0
Auto merge of #138893 - klensy:thorin-0.9, r=Mark-Simulacrum
bors Mar 26, 2025
c76bd98
Auto merge of #130324 - petrochenkov:ctxtache, r=oli-obk
bors Mar 26, 2025
cf1bfb3
Auto merge of #138824 - Zoxc:dep-graph-no-prev-map, r=oli-obk
bors Mar 26, 2025
cb7a5d3
Auto merge of #138915 - compiler-errors:binder-tweak, r=lcnr
bors Mar 27, 2025
fd9de69
Auto merge of #138927 - nnethercote:rearrange-Item-ItemInner, r=Guill…
bors Mar 27, 2025
cd4297e
Auto merge of #138702 - m-ou-se:spawn-in-atexit, r=Mark-Simulacrum
bors Mar 27, 2025
eb6d674
Auto merge of #138503 - bjorn3:string_merging, r=tmiasko
bors Mar 28, 2025
628eb70
compiletest: Support matching diagnostics on lines below
petrochenkov Mar 29, 2025
e365ad4
Auto merge of #133572 - frank-king:feature/unique_arc, r=Amanieu
bors Mar 29, 2025
0c3d4cb
Rollup merge of #137928 - RalfJung:const_cell, r=m-ou-se
matthiaskrgr Mar 29, 2025
6f99532
Rollup merge of #138431 - madsmtm:uclibc-llvm-target, r=jieyouxu
matthiaskrgr Mar 29, 2025
2fe1dcd
Rollup merge of #138832 - ChrisDenton:with_native_path, r=joboet
matthiaskrgr Mar 29, 2025
806114f
Rollup merge of #139100 - petrochenkov:errbelow, r=jieyouxu
matthiaskrgr Mar 29, 2025
c03e9a1
Rollup merge of #139105 - ShE3py:BackendRepr-is_signed, r=compiler-er…
matthiaskrgr Mar 29, 2025
f2d99f3
Rollup merge of #139106 - ShE3py:pp-highlighting, r=compiler-errors
matthiaskrgr Mar 29, 2025
1a811d7
Auto merge of #139119 - matthiaskrgr:rollup-7l2ri0f, r=matthiaskrgr
bors Mar 29, 2025
232a58f
Auto merge of #138742 - taiki-e:riscv-vector, r=Amanieu
bors Mar 30, 2025
4765c07
Auto merge of #137836 - madsmtm:openwrt-target-vendor, r=jieyouxu
bors Mar 30, 2025
6436058
Auto merge of #138206 - amy-kwan:amy-kwan/reprc-struct-power-align-ig…
bors Mar 30, 2025
91d0b48
Auto merge of #139131 - m-ou-se:format-args-struct-expr, r=Mark-Simul…
bors Mar 30, 2025
788b39d
Preparing for merge from rustc
invalid-email-address Mar 31, 2025
07c9abc
Merge from rustc
invalid-email-address Mar 31, 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 @@
493c38ba371929579fe136df26eccd9516347c7a
2ea33b591050c4ca1a3752830b29112638faecf6
4 changes: 2 additions & 2 deletions src/notification-groups/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Here's the list of the notification groups:
- [ARM](./arm.md)
- [Cleanup Crew](./cleanup-crew.md)
- [Emscripten](./emscripten.md)
- [LLVM](./llvm.md)
- [LLVM Icebreakers](./llvm.md)
- [RISC-V](./risc-v.md)
- [WASI](./wasi.md)
- [WebAssembly](./wasm.md)
Expand Down Expand Up @@ -83,7 +83,7 @@ group. For example:
@rustbot ping arm
@rustbot ping cleanup-crew
@rustbot ping emscripten
@rustbot ping llvm
@rustbot ping icebreakers-llvm
@rustbot ping risc-v
@rustbot ping wasi
@rustbot ping wasm
Expand Down
13 changes: 8 additions & 5 deletions src/notification-groups/llvm.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
# LLVM Notification group
# LLVM Icebreakers Notification group

**Github Label:** [A-LLVM] <br>
**Ping command:** `@rustbot ping llvm`
**Ping command:** `@rustbot ping icebreakers-llvm`

[A-LLVM]: https://github.com/rust-lang/rust/labels/A-LLVM

The "LLVM Notification Group" are focused on bugs that center around LLVM.
These bugs often arise because of LLVM optimizations gone awry, or as
the result of an LLVM upgrade. The goal here is:
*Note*: this notification group is *not* the same as the LLVM working group
(WG-llvm).

The "LLVM Icebreakers Notification Group" are focused on bugs that center around
LLVM. These bugs often arise because of LLVM optimizations gone awry, or as the
result of an LLVM upgrade. The goal here is:

- to determine whether the bug is a result of us generating invalid LLVM IR,
or LLVM misoptimizing;
Expand Down
2 changes: 2 additions & 0 deletions src/tests/ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ their results can be seen [here](https://github.com/rust-lang-ci/rust/actions),
although usually you will be notified of the result by a comment made by bors on
the corresponding PR.

Note that if you start the default try job using `@bors try`, it will skip building several `dist` components and running post-optimization tests, to make the build duration shorter. If you want to execute the full build as it would happen before a merge, add an explicit `try-job` pattern with the name of the default try job (currently `dist-x86_64-linux`).

Multiple try builds can execute concurrently across different PRs.

<div class="warning">
Expand Down
41 changes: 37 additions & 4 deletions src/tests/ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,12 @@ several ways to match the message with the line (see the examples below):
* `~|`: Associates the error level and message with the *same* line as the
*previous comment*. This is more convenient than using multiple carets when
there are multiple messages associated with the same line.
* `~v`: Associates the error level and message with the *next* error
annotation line. Each symbol (`v`) that you add adds a line to this, so `~vvv`
is three lines below the error annotation line.
* `~?`: Used to match error levels and messages with errors not having line
information. These can be placed on any line in the test file, but are
conventionally placed at the end.

Example:

Expand Down Expand Up @@ -270,10 +276,35 @@ fn main() {
//~| ERROR this pattern has 1 field, but the corresponding tuple struct has 3 fields [E0023]
```

#### Positioned above error line

Use the `//~v` idiom with number of v's in the string to indicate the number
of lines below. This is typically used in lexer or parser tests matching on errors like unclosed
delimiter or unclosed literal happening at the end of file.

```rust,ignore
// ignore-tidy-trailing-newlines
//~v ERROR this file contains an unclosed delimiter
fn main((ؼ
```

#### Error without line information

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.

```rust,ignore
//@ compile-flags: --print yyyy

//~? ERROR unknown print request: `yyyy`
```

### `error-pattern`

The `error-pattern` [directive](directives.md) can be used for messages that don't
have a specific span.
The `error-pattern` [directive](directives.md) can be used for runtime messages, which don't
have a specific span, or for compile time messages if imprecise matching is required due to
multi-line platform specific diagnostics.

Let's think about this test:

Expand All @@ -300,7 +331,9 @@ fn main() {
}
```

But for strict testing, try to use the `ERROR` annotation as much as possible.
But for strict testing, try to use the `ERROR` annotation as much as possible,
including `//~?` annotations for diagnostics without span.
For compile time diagnostics `error-pattern` should very rarely be necessary.

### Error levels

Expand Down Expand Up @@ -353,7 +386,7 @@ would be a `.mir.stderr` and `.thir.stderr` file with the different outputs of
the different revisions.

> Note: cfg revisions also work inside the source code with `#[cfg]` attributes.
>
>
> By convention, the `FALSE` cfg is used to have an always-false config.

## Controlling pass/fail expectations
Expand Down