Skip to content

Pass fields to is_tuple_fields instead of SBValue object#155738

Merged
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
Walnut356:tuple_fields
Apr 25, 2026
Merged

Pass fields to is_tuple_fields instead of SBValue object#155738
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
Walnut356:tuple_fields

Conversation

@Walnut356
Copy link
Copy Markdown
Contributor

straightforward fix for a logic error. is_tuple_fields expects a list, so we pass that in instead of the value object.

Coincidentally, this also fixes one of the 3 DI tests that fails on x86_64-pc-windows-gnu (tests/debuginfo/union-smoke.rs)

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 24, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Apr 24, 2026

r? @Mark-Simulacrum

rustbot has assigned @Mark-Simulacrum.
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: @Mark-Simulacrum

@jieyouxu jieyouxu self-assigned this Apr 25, 2026
Copy link
Copy Markdown
Member

@jieyouxu jieyouxu left a comment

Choose a reason for hiding this comment

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

Thanks
r? me @bors r+ rollup

View changes since this review

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented Apr 25, 2026

📌 Commit 180bfef has been approved by jieyouxu

It is now in the queue for this repository.

@rust-bors rust-bors Bot added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Apr 25, 2026
@rust-bors rust-bors Bot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 25, 2026
rust-bors Bot pushed a commit that referenced this pull request Apr 25, 2026
Rollup of 7 pull requests

Successful merges:

 - #155643 (Improve suggestion for $-prefixed fragment specifiers)
 - #154197 (Avoid redundant clone suggestions in borrowck diagnostics)
 - #154372 (Exposing Float Masks)
 - #155680 (Handle index projections in call destinations in DSE)
 - #155732 (bootstrap: Don't clone submodules unconditionally in dry-run)
 - #155737 (Account for `GetSyntheticValue` failures)
 - #155738 (Pass fields to `is_tuple_fields` instead of `SBValue` object)
@rust-bors rust-bors Bot merged commit 84fd561 into rust-lang:main Apr 25, 2026
11 checks passed
rust-timer added a commit that referenced this pull request Apr 25, 2026
Rollup merge of #155738 - Walnut356:tuple_fields, r=jieyouxu

Pass fields to `is_tuple_fields` instead of `SBValue` object

straightforward fix for a logic error. `is_tuple_fields` expects a `list`, so we pass that in instead of the value object.

Coincidentally, this also fixes one of the 3 DI tests that fails on `x86_64-pc-windows-gnu` (`tests/debuginfo/union-smoke.rs`)
@rustbot rustbot added this to the 1.97.0 milestone Apr 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants