Skip to content

Reorganisation of UI Tests#153962

Open
rishi-techo-14 wants to merge 3 commits intorust-lang:mainfrom
rishi-techo-14:ui-tests-reorg-v2
Open

Reorganisation of UI Tests#153962
rishi-techo-14 wants to merge 3 commits intorust-lang:mainfrom
rishi-techo-14:ui-tests-reorg-v2

Conversation

@rishi-techo-14
Copy link

@rishi-techo-14 rishi-techo-14 commented Mar 16, 2026

Reorganize 11 tests in tests/ui/issues to appropriate subdirectories

This PR reorganizes tests in tests/ui/issues folder following the workflow suggested in the comment on #149411

Workflow:

  • Move 11 tests to appropriate directories (such as pattern, typeck, traits, borrowck, closures).
  • Rename each test in {reason}-issue-xxxx.rs format along with its corresponding .stderr file
  • Add issue links and short description about what the test checks

All tests pass tidy locally using

python x.py test tidy

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Mar 16, 2026
@rustbot
Copy link
Collaborator

rustbot commented Mar 16, 2026

r? @JohnTitor

rustbot has assigned @JohnTitor.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: compiler
  • compiler expanded to 69 candidates
  • Random selection from 15 candidates

@rishi-techo-14
Copy link
Author

@rustbot r? @Kivooeo

@rustbot rustbot assigned Kivooeo and unassigned JohnTitor Mar 16, 2026
Copy link
Member

@Kivooeo Kivooeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the word "issue" from all test names and remove the issue numbers from those tests whose names are descriptive enough.

View changes since this review

@Kivooeo
Copy link
Member

Kivooeo commented Mar 16, 2026

Also, remove the comments describing what the test is doing if the test is simple enough. However, keep an issue link and add a new line between your comment and the test.

Here's an example of what the test could look like: #152732.

@rust-log-analyzer
Copy link
Collaborator

The job aarch64-gnu-llvm-21-1 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
Executing "/scripts/stage_2_test_set1.sh"
+ /scripts/stage_2_test_set1.sh
PR_CI_JOB set; skipping tidy
+ '[' 1 == 1 ']'
+ echo 'PR_CI_JOB set; skipping tidy'
+ SKIP_TIDY='--skip tidy'
+ ../x.py --stage 2 test --skip tidy --skip compiler --skip src
##[group]Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.04s
##[endgroup]
downloading https://static.rust-lang.org/dist/2026-03-05/rustfmt-nightly-aarch64-unknown-linux-gnu.tar.xz
---
To only update this specific test, also pass `--test-args borrowck/cannot-move-out-of-borrowed-field-issue-2590.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/borrowck/cannot-move-out-of-borrowed-field-issue-2590.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/borrowck/cannot-move-out-of-borrowed-field-issue-2590" "-A" "unused" "-W" "unused_attributes" "-A" "internal_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
--- stderr -------------------------------
error[E0507]: cannot move out of `self.tokens` which is behind a shared reference
##[error]  --> /checkout/tests/ui/borrowck/cannot-move-out-of-borrowed-field-issue-2590.rs:13:9
   |
LL |         self.tokens //~ ERROR cannot move out
   |         ^^^^^^^^^^^ move occurs because `self.tokens` has type `Vec<isize>`, which does not implement the `Copy` trait
   |
help: consider cloning the value if the performance cost is acceptable
   |
LL |         self.tokens.clone() //~ ERROR cannot move out
   |                    ++++++++

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0507`.
------------------------------------------

---- [ui] tests/ui/borrowck/cannot-move-out-of-borrowed-field-issue-2590.rs stdout end ----
---- [ui] tests/ui/borrowck/move-out-of-borrowed-content-in-closure-issue-4335.rs stdout ----
Saved the actual stderr to `/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/borrowck/move-out-of-borrowed-content-in-closure-issue-4335/move-out-of-borrowed-content-in-closure-issue-4335.stderr`
diff of stderr:

1 error[E0507]: cannot move out of `*v`, as `v` is a captured variable in an `FnMut` closure
-   --> $DIR/issue-4335.rs:6:20
+   --> $DIR/move-out-of-borrowed-content-in-closure-issue-4335.rs:8:20
3    |
4 LL | fn f<'r, T>(v: &'r T) -> Box<dyn FnMut() -> T + 'r> {
5    |             -  ----- move occurs because `*v` has type `T`, which does not implement the `Copy` trait

12    |
13    = help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but `FnOnce` closures may consume them only once
14 help: if `T` implemented `Clone`, you could clone the value
-   --> $DIR/issue-4335.rs:5:10
+   --> $DIR/move-out-of-borrowed-content-in-closure-issue-4335.rs:7:10
16    |
17 LL | fn f<'r, T>(v: &'r T) -> Box<dyn FnMut() -> T + 'r> {
18    |          ^ consider constraining this type parameter with `Clone`

Note: some mismatched output was normalized before being compared
-   --> /checkout/tests/ui/borrowck/move-out-of-borrowed-content-in-closure-issue-4335.rs:8:20
-   --> /checkout/tests/ui/borrowck/move-out-of-borrowed-content-in-closure-issue-4335.rs:7:10
+   --> $DIR/move-out-of-borrowed-content-in-closure-issue-4335.rs:8:20
---
To only update this specific test, also pass `--test-args borrowck/move-out-of-borrowed-content-in-closure-issue-4335.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/borrowck/move-out-of-borrowed-content-in-closure-issue-4335.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/borrowck/move-out-of-borrowed-content-in-closure-issue-4335" "-A" "unused" "-W" "unused_attributes" "-A" "internal_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
--- stderr -------------------------------
error[E0507]: cannot move out of `*v`, as `v` is a captured variable in an `FnMut` closure
##[error]  --> /checkout/tests/ui/borrowck/move-out-of-borrowed-content-in-closure-issue-4335.rs:8:20
   |
LL | fn f<'r, T>(v: &'r T) -> Box<dyn FnMut() -> T + 'r> {
   |             -  ----- move occurs because `*v` has type `T`, which does not implement the `Copy` trait
   |             |
   |             captured outer variable
LL |     id(Box::new(|| *v))
   |                 -- ^^ `*v` is moved here
   |                 |
   |                 captured by this `FnMut` closure
   |
   = help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but `FnOnce` closures may consume them only once
help: if `T` implemented `Clone`, you could clone the value
  --> /checkout/tests/ui/borrowck/move-out-of-borrowed-content-in-closure-issue-4335.rs:7:10
   |
LL | fn f<'r, T>(v: &'r T) -> Box<dyn FnMut() -> T + 'r> {
   |          ^ consider constraining this type parameter with `Clone`
LL |     id(Box::new(|| *v))
   |                    -- you could clone this value

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0507`.
------------------------------------------
---
1 error[E0434]: can't capture dynamic environment in a fn item
-   --> $DIR/issue-3021-b.rs:9:22
+   --> $DIR/capture-dynamic-environment-issue-3021.rs:11:22
3    |
4 LL |            self.v0 = k0 ^ 0x736f6d6570736575;
5    |                      ^^

Note: some mismatched output was normalized before being compared
-   --> /checkout/tests/ui/closures/capture-dynamic-environment-issue-3021.rs:11:22
+   --> $DIR/capture-dynamic-environment-issue-3021.rs:11:22
---
To only update this specific test, also pass `--test-args closures/capture-dynamic-environment-issue-3021.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/closures/capture-dynamic-environment-issue-3021.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/closures/capture-dynamic-environment-issue-3021" "-A" "unused" "-W" "unused_attributes" "-A" "internal_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
--- stderr -------------------------------
error[E0434]: can't capture dynamic environment in a fn item
##[error]  --> /checkout/tests/ui/closures/capture-dynamic-environment-issue-3021.rs:11:22
   |
LL |            self.v0 = k0 ^ 0x736f6d6570736575; //~ ERROR can't capture dynamic environment
   |                      ^^
   |
   = help: use the `|| { ... }` closure form instead

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0434`.
------------------------------------------
---
23 LL |         const BAR: usize = BAR;
24    |         ^^^^^^^^^^^^^^^^

25    |
26 note: ...which requires building MIR for `main::BAR`...
-   --> $DIR/issue-17252.rs:6:9
+   --> $DIR/const-eval-cycle-detection-issue-17252.rs:9:9
28    |
29 LL |         const BAR: usize = BAR;
30    |         ^^^^^^^^^^^^^^^^

31    = note: ...which again requires checking if `main::BAR` is a trivial const, completing the cycle
32 note: cycle used when simplifying constant for the type system `main::BAR`
-   --> $DIR/issue-17252.rs:6:9
+   --> $DIR/const-eval-cycle-detection-issue-17252.rs:9:9
34    |
35 LL |         const BAR: usize = BAR;
36    |         ^^^^^^^^^^^^^^^^
---
To only update this specific test, also pass `--test-args consts/const-eval-cycle-detection-issue-17252.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/consts/const-eval-cycle-detection-issue-17252.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/consts/const-eval-cycle-detection-issue-17252" "-A" "unused" "-W" "unused_attributes" "-A" "internal_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
--- stderr -------------------------------
error[E0391]: cycle detected when checking if `FOO` is a trivial const
##[error]  --> /checkout/tests/ui/consts/const-eval-cycle-detection-issue-17252.rs:4:1
   |
---
   |
LL |         const BAR: usize = BAR;
   |         ^^^^^^^^^^^^^^^^
   |
note: ...which requires building MIR for `main::BAR`...
  --> /checkout/tests/ui/consts/const-eval-cycle-detection-issue-17252.rs:9:9
   |
LL |         const BAR: usize = BAR;
   |         ^^^^^^^^^^^^^^^^
   = note: ...which again requires checking if `main::BAR` is a trivial const, completing the cycle
note: cycle used when simplifying constant for the type system `main::BAR`
  --> /checkout/tests/ui/consts/const-eval-cycle-detection-issue-17252.rs:9:9
   |
LL |         const BAR: usize = BAR;
   |         ^^^^^^^^^^^^^^^^
   = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
---
To only update this specific test, also pass `--test-args lint/unreachable-code-in-loop-issue-2150.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/lint/unreachable-code-in-loop-issue-2150.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/lint/unreachable-code-in-loop-issue-2150" "-A" "unused" "-W" "unused_attributes" "-A" "internal_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
--- stderr -------------------------------
error: unreachable statement
##[error]  --> /checkout/tests/ui/lint/unreachable-code-in-loop-issue-2150.rs:10:5
   |
LL |     panic!();
   |     -------- any code following this expression is unreachable
LL |     for x in &v { i += 1; }
   |     ^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
   |
note: the lint level is defined here
  --> /checkout/tests/ui/lint/unreachable-code-in-loop-issue-2150.rs:3:9
   |
---
diff of stderr:

- error[E0308]: mismatched types
-   --> $DIR/issue-5100.rs:9:9
+ error[E0033]: type `Box<(dyn MyTrait + 'static)>` cannot be dereferenced
+   --> $DIR/box-pattern-trait-object-deref-error-issue-4972.rs:15:25
3    |
- LL | enum A { B, C }
-    |          - unit variant defined here
- ...
- LL |     match (true, false) {
-    |           ------------- this expression has type `(bool, bool)`
- LL |         A::B => (),
-    |         ^^^^ expected `(bool, bool)`, found `A`
-    |
-    = note: expected tuple `(bool, bool)`
-                found enum `A`
+ LL |         TraitWrapper::A(box ref map) => map,
+    |                         ^^^^^^^^^^^ type `Box<(dyn MyTrait + 'static)>` cannot be dereferenced
14 
- error[E0308]: mismatched types
-   --> $DIR/issue-5100.rs:18:9
-    |
- LL |     match (true, false) {
-    |           ------------- this expression has type `(bool, bool)`
- LL |         (true, false, false) => ()
-    |         ^^^^^^^^^^^^^^^^^^^^ expected a tuple with 2 elements, found one with 3 elements
-    |
-    = note: expected tuple `(bool, bool)`
-               found tuple `(_, _, _)`
+ error: aborting due to 1 previous error
25 
- error[E0308]: mismatched types
-   --> $DIR/issue-5100.rs:26:9
-    |
- LL |     match (true, false) {
-    |           ------------- this expression has type `(bool, bool)`
- LL |         (true, false, false) => ()
-    |         ^^^^^^^^^^^^^^^^^^^^ expected a tuple with 2 elements, found one with 3 elements
-    |
-    = note: expected tuple `(bool, bool)`
-               found tuple `(_, _, _)`
- 
- error[E0308]: mismatched types
-   --> $DIR/issue-5100.rs:34:9
-    |
- LL |     match (true, false) {
-    |           ------------- this expression has type `(bool, bool)`
- LL |         box (true, false) => ()
-    |         ^^^^^^^^^^^^^^^^^ expected `(bool, bool)`, found `Box<_>`
-    |
-    = note: expected tuple `(bool, bool)`
-              found struct `Box<_>`
- 
- error[E0308]: mismatched types
-   --> $DIR/issue-5100.rs:41:9
-    |
- LL |     match (true, false) {
-    |           ------------- this expression has type `(bool, bool)`
- LL |         &(true, false) => ()
-    |         ^^^^^^^^^^^^^^ expected `(bool, bool)`, found `&_`
-    |
-    = note:  expected tuple `(bool, bool)`
-            found reference `&_`
- 
- error[E0618]: expected function, found `(char, char)`
-   --> $DIR/issue-5100.rs:49:14
-    |
- LL |     let v = [('a', 'b')
-    |              ^^^^^^^^^^- help: consider separating array elements with a comma: `,`
- 
- error[E0308]: mismatched types
-   --> $DIR/issue-5100.rs:56:19
-    |
- LL |     let x: char = true;
---
77 

Note: some mismatched output was normalized before being compared
-   --> /checkout/tests/ui/pattern/box-pattern-trait-object-deref-error-issue-4972.rs:15:25
- LL |         TraitWrapper::A(box ref map) => map, //~ ERROR cannot be dereferenced
+ error[E0033]: type `Box<(dyn MyTrait + 'static)>` cannot be dereferenced
+   --> $DIR/box-pattern-trait-object-deref-error-issue-4972.rs:15:25
+ LL |         TraitWrapper::A(box ref map) => map,
+    |                         ^^^^^^^^^^^ type `Box<(dyn MyTrait + 'static)>` cannot be dereferenced
+ error: aborting due to 1 previous error
+ For more information about this error, try `rustc --explain E0033`.


The actual stderr differed from the expected stderr
To update references, rerun the tests and pass the `--bless` flag
To only update this specific test, also pass `--test-args pattern/box-pattern-trait-object-deref-error-issue-4972.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/pattern/box-pattern-trait-object-deref-error-issue-4972.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/pattern/box-pattern-trait-object-deref-error-issue-4972" "-A" "unused" "-W" "unused_attributes" "-A" "internal_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
--- stderr -------------------------------
error[E0033]: type `Box<(dyn MyTrait + 'static)>` cannot be dereferenced
##[error]  --> /checkout/tests/ui/pattern/box-pattern-trait-object-deref-error-issue-4972.rs:15:25
   |
LL |         TraitWrapper::A(box ref map) => map, //~ ERROR cannot be dereferenced
   |                         ^^^^^^^^^^^ type `Box<(dyn MyTrait + 'static)>` cannot be dereferenced

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0033`.
------------------------------------------

---- [ui] tests/ui/pattern/box-pattern-trait-object-deref-error-issue-4972.rs stdout end ----
---- [ui] tests/ui/pattern/pattern-mismatched-types-diagnostics-issue-5100.rs stdout ----
Saved the actual stderr to `/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/pattern/pattern-mismatched-types-diagnostics-issue-5100/pattern-mismatched-types-diagnostics-issue-5100.stderr`
diff of stderr:

- error[E0033]: type `Box<(dyn MyTrait + 'static)>` cannot be dereferenced
-   --> $DIR/issue-4972.rs:13:25
+ error[E0308]: mismatched types
+   --> $DIR/pattern-mismatched-types-diagnostics-issue-5100.rs:11:9
3    |
- LL |         TraitWrapper::A(box ref map) => map,
-    |                         ^^^^^^^^^^^ type `Box<(dyn MyTrait + 'static)>` cannot be dereferenced
+ LL | enum A { B, C }
+    |          - unit variant defined here
+ ...
+ LL |     match (true, false) {
+    |           ------------- this expression has type `(bool, bool)`
+ LL |         A::B => (),
+    |         ^^^^ expected `(bool, bool)`, found `A`
+    |
+    = note: expected tuple `(bool, bool)`
+                found enum `A`
6 
- error: aborting due to 1 previous error
+ error[E0308]: mismatched types
+   --> $DIR/pattern-mismatched-types-diagnostics-issue-5100.rs:20:9
+    |
+ LL |     match (true, false) {
+    |           ------------- this expression has type `(bool, bool)`
+ LL |         (true, false, false) => ()
+    |         ^^^^^^^^^^^^^^^^^^^^ expected a tuple with 2 elements, found one with 3 elements
+    |
+    = note: expected tuple `(bool, bool)`
+               found tuple `(_, _, _)`
8 
- For more information about this error, try `rustc --explain E0033`.
+ error[E0308]: mismatched types
+   --> $DIR/pattern-mismatched-types-diagnostics-issue-5100.rs:28:9
+    |
+ LL |     match (true, false) {
+    |           ------------- this expression has type `(bool, bool)`
+ LL |         (true, false, false) => ()
+    |         ^^^^^^^^^^^^^^^^^^^^ expected a tuple with 2 elements, found one with 3 elements
+    |
+    = note: expected tuple `(bool, bool)`
+               found tuple `(_, _, _)`
+ 
+ error[E0308]: mismatched types
+   --> $DIR/pattern-mismatched-types-diagnostics-issue-5100.rs:36:9
+    |
+ LL |     match (true, false) {
+    |           ------------- this expression has type `(bool, bool)`
+ LL |         box (true, false) => ()
+    |         ^^^^^^^^^^^^^^^^^ expected `(bool, bool)`, found `Box<_>`
+    |
+    = note: expected tuple `(bool, bool)`
+              found struct `Box<_>`
+ 
+ error[E0308]: mismatched types
+   --> $DIR/pattern-mismatched-types-diagnostics-issue-5100.rs:43:9
+    |
+ LL |     match (true, false) {
+    |           ------------- this expression has type `(bool, bool)`
+ LL |         &(true, false) => ()
+    |         ^^^^^^^^^^^^^^ expected `(bool, bool)`, found `&_`
+    |
+    = note:  expected tuple `(bool, bool)`
+            found reference `&_`
+ 
+ error[E0618]: expected function, found `(char, char)`
+   --> $DIR/pattern-mismatched-types-diagnostics-issue-5100.rs:51:14
+    |
+ LL |     let v = [('a', 'b')
+    |              ^^^^^^^^^^- help: consider separating array elements with a comma: `,`
+ 
+ error[E0308]: mismatched types
+   --> $DIR/pattern-mismatched-types-diagnostics-issue-5100.rs:58:19
+    |
+ LL |     let x: char = true;
---
-   --> /checkout/tests/ui/pattern/pattern-mismatched-types-diagnostics-issue-5100.rs:28:9
-   --> /checkout/tests/ui/pattern/pattern-mismatched-types-diagnostics-issue-5100.rs:36:9
-   --> /checkout/tests/ui/pattern/pattern-mismatched-types-diagnostics-issue-5100.rs:43:9
-   --> /checkout/tests/ui/pattern/pattern-mismatched-types-diagnostics-issue-5100.rs:51:14
- LL |     let v = [('a', 'b')   //~ ERROR expected function, found `(char, char)`
-   --> /checkout/tests/ui/pattern/pattern-mismatched-types-diagnostics-issue-5100.rs:58:19
- LL |     let x: char = true; //~  ERROR mismatched types
+ error[E0308]: mismatched types
+   --> $DIR/pattern-mismatched-types-diagnostics-issue-5100.rs:11:9
+ LL | enum A { B, C }
+    |          - unit variant defined here
+ ...
+ LL |     match (true, false) {
+    |           ------------- this expression has type `(bool, bool)`
+ LL |         A::B => (),
+    |         ^^^^ expected `(bool, bool)`, found `A`
+    |
+    = note: expected tuple `(bool, bool)`
+                found enum `A`
+ error[E0308]: mismatched types
+   --> $DIR/pattern-mismatched-types-diagnostics-issue-5100.rs:20:9
+    |
+ LL |     match (true, false) {
+    |           ------------- this expression has type `(bool, bool)`
+ LL |         (true, false, false) => ()
+    |         ^^^^^^^^^^^^^^^^^^^^ expected a tuple with 2 elements, found one with 3 elements
+    |
+    = note: expected tuple `(bool, bool)`
+               found tuple `(_, _, _)`
+ error[E0308]: mismatched types
+   --> $DIR/pattern-mismatched-types-diagnostics-issue-5100.rs:28:9
+    |
+ LL |     match (true, false) {
+    |           ------------- this expression has type `(bool, bool)`
+ LL |         (true, false, false) => ()
+    |         ^^^^^^^^^^^^^^^^^^^^ expected a tuple with 2 elements, found one with 3 elements
+    |
+    = note: expected tuple `(bool, bool)`
+               found tuple `(_, _, _)`
+ 
+ error[E0308]: mismatched types
+   --> $DIR/pattern-mismatched-types-diagnostics-issue-5100.rs:36:9
+    |
+ LL |     match (true, false) {
+    |           ------------- this expression has type `(bool, bool)`
+ LL |         box (true, false) => ()
+    |         ^^^^^^^^^^^^^^^^^ expected `(bool, bool)`, found `Box<_>`
+    |
+    = note: expected tuple `(bool, bool)`
+              found struct `Box<_>`
+ 
+ error[E0308]: mismatched types
+   --> $DIR/pattern-mismatched-types-diagnostics-issue-5100.rs:43:9
+    |
+ LL |     match (true, false) {
+    |           ------------- this expression has type `(bool, bool)`
+ LL |         &(true, false) => ()
+    |         ^^^^^^^^^^^^^^ expected `(bool, bool)`, found `&_`
+    |
+    = note:  expected tuple `(bool, bool)`
+            found reference `&_`
+ 
+ error[E0618]: expected function, found `(char, char)`
+   --> $DIR/pattern-mismatched-types-diagnostics-issue-5100.rs:51:14
+    |
+ LL |     let v = [('a', 'b')
+    |              ^^^^^^^^^^- help: consider separating array elements with a comma: `,`
+ 
+ error[E0308]: mismatched types
+   --> $DIR/pattern-mismatched-types-diagnostics-issue-5100.rs:58:19
+    |
+ LL |     let x: char = true;
---
To only update this specific test, also pass `--test-args pattern/pattern-mismatched-types-diagnostics-issue-5100.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/pattern/pattern-mismatched-types-diagnostics-issue-5100.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/pattern/pattern-mismatched-types-diagnostics-issue-5100" "-A" "unused" "-W" "unused_attributes" "-A" "internal_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
--- stderr -------------------------------
error[E0308]: mismatched types
##[error]  --> /checkout/tests/ui/pattern/pattern-mismatched-types-diagnostics-issue-5100.rs:11:9
   |
LL | enum A { B, C }
   |          - unit variant defined here
...
LL |     match (true, false) {
   |           ------------- this expression has type `(bool, bool)`
LL |         A::B => (),
   |         ^^^^ expected `(bool, bool)`, found `A`
   |
   = note: expected tuple `(bool, bool)`
               found enum `A`

error[E0308]: mismatched types
##[error]  --> /checkout/tests/ui/pattern/pattern-mismatched-types-diagnostics-issue-5100.rs:20:9
   |
LL |     match (true, false) {
   |           ------------- this expression has type `(bool, bool)`
LL |         (true, false, false) => ()
   |         ^^^^^^^^^^^^^^^^^^^^ expected a tuple with 2 elements, found one with 3 elements
   |
   = note: expected tuple `(bool, bool)`
              found tuple `(_, _, _)`

error[E0308]: mismatched types
##[error]  --> /checkout/tests/ui/pattern/pattern-mismatched-types-diagnostics-issue-5100.rs:28:9
   |
LL |     match (true, false) {
   |           ------------- this expression has type `(bool, bool)`
LL |         (true, false, false) => ()
   |         ^^^^^^^^^^^^^^^^^^^^ expected a tuple with 2 elements, found one with 3 elements
   |
   = note: expected tuple `(bool, bool)`
              found tuple `(_, _, _)`

error[E0308]: mismatched types
##[error]  --> /checkout/tests/ui/pattern/pattern-mismatched-types-diagnostics-issue-5100.rs:36:9
   |
LL |     match (true, false) {
   |           ------------- this expression has type `(bool, bool)`
LL |         box (true, false) => ()
   |         ^^^^^^^^^^^^^^^^^ expected `(bool, bool)`, found `Box<_>`
   |
   = note: expected tuple `(bool, bool)`
             found struct `Box<_>`

error[E0308]: mismatched types
##[error]  --> /checkout/tests/ui/pattern/pattern-mismatched-types-diagnostics-issue-5100.rs:43:9
   |
LL |     match (true, false) {
   |           ------------- this expression has type `(bool, bool)`
LL |         &(true, false) => ()
   |         ^^^^^^^^^^^^^^ expected `(bool, bool)`, found `&_`
   |
   = note:  expected tuple `(bool, bool)`
           found reference `&_`

error[E0618]: expected function, found `(char, char)`
##[error]  --> /checkout/tests/ui/pattern/pattern-mismatched-types-diagnostics-issue-5100.rs:51:14
   |
LL |     let v = [('a', 'b')   //~ ERROR expected function, found `(char, char)`
   |              ^^^^^^^^^^- help: consider separating array elements with a comma: `,`

error[E0308]: mismatched types
##[error]  --> /checkout/tests/ui/pattern/pattern-mismatched-types-diagnostics-issue-5100.rs:58:19
   |
LL |     let x: char = true; //~  ERROR mismatched types
   |            ----   ^^^^ expected `char`, found `bool`
   |            |
   |            expected due to this

error: aborting due to 7 previous errors

---
---- [ui] tests/ui/pattern/tuple-variant-written-as-struct-pattern-issue-17800.rs stdout ----
Saved the actual stderr to `/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/pattern/tuple-variant-written-as-struct-pattern-issue-17800/tuple-variant-written-as-struct-pattern-issue-17800.stderr`
diff of stderr:

1 error[E0769]: tuple variant `MyOption::MySome` written as struct variant
-   --> $DIR/issue-17800.rs:8:9
+   --> $DIR/tuple-variant-written-as-struct-pattern-issue-17800.rs:10:9
3    |
4 LL |         MyOption::MySome { x: 42 } => (),
5    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^

Note: some mismatched output was normalized before being compared
-   --> /checkout/tests/ui/pattern/tuple-variant-written-as-struct-pattern-issue-17800.rs:10:9
+   --> $DIR/tuple-variant-written-as-struct-pattern-issue-17800.rs:10:9
---
To only update this specific test, also pass `--test-args pattern/tuple-variant-written-as-struct-pattern-issue-17800.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/pattern/tuple-variant-written-as-struct-pattern-issue-17800.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/pattern/tuple-variant-written-as-struct-pattern-issue-17800" "-A" "unused" "-W" "unused_attributes" "-A" "internal_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
--- stderr -------------------------------
error[E0769]: tuple variant `MyOption::MySome` written as struct variant
##[error]  --> /checkout/tests/ui/pattern/tuple-variant-written-as-struct-pattern-issue-17800.rs:10:9
   |
LL |         MyOption::MySome { x: 42 } => (),
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
help: use the tuple variant pattern syntax instead
   |
LL -         MyOption::MySome { x: 42 } => (),
LL +         MyOption::MySome(42) => (),
   |

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0769`.
---
To only update this specific test, also pass `--test-args traits/duplicate-method-definitions-in-impl-issue-4265.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/traits/duplicate-method-definitions-in-impl-issue-4265.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/traits/duplicate-method-definitions-in-impl-issue-4265" "-A" "unused" "-W" "unused_attributes" "-A" "internal_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
--- stderr -------------------------------
error[E0592]: duplicate definitions with name `bar`
##[error]  --> /checkout/tests/ui/traits/duplicate-method-definitions-in-impl-issue-4265.rs:13:5
   |
---
   |
LL | struct Foo {
   | ---------- method `bar` not found for this struct
...
LL |         Foo { baz: 0 }.bar();
   |                        ^^^ this is an associated function, not a method
   |
   = note: found the following associated functions; to be used as methods, functions must have a `self` parameter
note: the candidate is defined in an impl for the type `Foo`
  --> /checkout/tests/ui/traits/duplicate-method-definitions-in-impl-issue-4265.rs:8:5
   |
LL |     fn bar() {
   |     ^^^^^^^^
help: use associated function syntax instead
   |
LL -         Foo { baz: 0 }.bar();
LL +         Foo::bar();
   |

error: aborting due to 2 previous errors

Some errors have detailed explanations: E0592, E0599.
---
To only update this specific test, also pass `--test-args traits/method-resolution-multiple-traits-issue-3702.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/traits/method-resolution-multiple-traits-issue-3702.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/traits/method-resolution-multiple-traits-issue-3702" "-A" "unused" "-W" "unused_attributes" "-A" "internal_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
--- stderr -------------------------------
error[E0034]: multiple applicable items in scope
##[error]  --> /checkout/tests/ui/traits/method-resolution-multiple-traits-issue-3702.rs:18:14
   |
LL |         self.to_int() + other.to_int() //~ ERROR multiple applicable items in scope
   |              ^^^^^^ multiple `to_int` found
   |
note: candidate #1 is defined in an impl of the trait `Add` for the type `isize`
  --> /checkout/tests/ui/traits/method-resolution-multiple-traits-issue-3702.rs:16:5
   |
LL |     fn to_int(&self) -> isize { *self }
---
LL |     fn to_int(&self) -> isize { 0 }
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
help: disambiguate the method for candidate #1
   |
LL -         self.to_int() + other.to_int() //~ ERROR multiple applicable items in scope
LL +         Add::to_int(&self) + other.to_int() //~ ERROR multiple applicable items in scope
   |
help: disambiguate the method for candidate #2
   |
LL -         self.to_int() + other.to_int() //~ ERROR multiple applicable items in scope
LL +         ToPrimitive::to_int(&self) + other.to_int() //~ ERROR multiple applicable items in scope
   |

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0034`.
---
To only update this specific test, also pass `--test-args typeck/tuple-struct-field-constructor-error-issue-4736.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/typeck/tuple-struct-field-constructor-error-issue-4736.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2" "--target=aarch64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/ui/typeck/tuple-struct-field-constructor-error-issue-4736" "-A" "unused" "-W" "unused_attributes" "-A" "internal_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/aarch64-unknown-linux-gnu/native/rust-test-helpers"
stdout: none
--- stderr -------------------------------
error[E0560]: struct `NonCopyable` has no field named `p`
##[error]  --> /checkout/tests/ui/typeck/tuple-struct-field-constructor-error-issue-4736.rs:6:26
   |
LL | struct NonCopyable(());
   |        ----------- `NonCopyable` defined here
...
LL |     let z = NonCopyable{ p: () }; //~ ERROR struct `NonCopyable` has no field named `p`
   |                          ^ field does not exist
   |
help: `NonCopyable` is a tuple struct, use the appropriate syntax
   |
LL -     let z = NonCopyable{ p: () }; //~ ERROR struct `NonCopyable` has no field named `p`
LL +     let z = NonCopyable(/* () */); //~ ERROR struct `NonCopyable` has no field named `p`
   |

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0560`.

@@ -1,3 +1,5 @@
// https://github.com/rust-lang/rust/issues/4265
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be moved to ui/traits, there are no traits involved at all.

@Kivooeo
Copy link
Member

Kivooeo commented Mar 17, 2026

@rustbot author

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 17, 2026
@rustbot
Copy link
Collaborator

rustbot commented Mar 17, 2026

Reminder, once the PR becomes ready for a review, use @rustbot ready.

@rust-bors
Copy link
Contributor

rust-bors bot commented Mar 17, 2026

☔ The latest upstream changes (presumably #154008) made this pull request unmergeable. Please resolve the merge conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants