Skip to content

Rollup of 15 pull requests#159278

Closed
JonathanBrouwer wants to merge 40 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-CJBoffZ
Closed

Rollup of 15 pull requests#159278
JonathanBrouwer wants to merge 40 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-CJBoffZ

Conversation

@JonathanBrouwer

@JonathanBrouwer JonathanBrouwer commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Successful merges:

r? @ghost

Create a similar rollup

nnethercote and others added 30 commits July 12, 2026 10:57
Because that's what it is: any type with tokens must also have attrs.
This simplifies some trait bounds.
This way codegen backends don't have to check for a magic symbol name
prefix to detect LLVM intrinsic calls and thus can more easily handle
them separately as necessary.
This optimisation is currently broken on s390x[^1].
It looks like a big-endian issue in general. but as
we only know about the test fails on s390x we only
disable it there.

Should be reenabled when the problem is fixed and llvm
backend is updated.

[^1]: llvm/llvm-project#208712
This function's name is referring to `Step::make_run`, and has nothing to do
with run-make tests.
This was a reminder to make the lint translatable, but the code to make lints translatable has since been removed
Comptime inherent impls

A fairly trivial addition to comptime. Now that we have inherent methods that can individually be `#[rustc_comptime]`, we can just extend that to inherent impls.

lots of new test coverage as the attribute (even if it errors due to being illegal there) affects how the items it's applied to behave.

r? @fee1-dead
…, r=jdonszelmann

rerun in original typing mode if we meet any opaques in post analysis

When the rerun condition is `OpaqueInStorage` and typing mode is `PostAnalysis/Codegen`, we do rerun the evaluation in original typing mode.
It's strange that we don't do the same when the rerun condition is `OpaqueInStorageOrAnyOpaqueHasInferAsHidden`.

This fixes an ICE when building `cargo` with the next solver.

r? @jdonszelmann
cc @lcnr
…petrochenkov

Make `HasTokens` a sub-trait of `HasAttrs`.

Because that's what it is: any type with tokens must also have attrs. This simplifies some trait bounds.

r? @petrochenkov
…RalfJung,folkertdev

Introduce InstanceKind::LlvmIntrinsic

This way codegen backends don't have to check for a magic symbol name prefix to detect LLVM intrinsic calls and thus can more easily handle them separately as necessary.
Rename ModDefId to ModId and use more

Addresses some FIXMEs.

The `ModDefId` was used pretty sparingly, and honestly I wondered if it should exist at all. After making these changes, I think the type is worth it. Most notably it is now used in `Visibility::Restricted`.

I first renamed `ModDefId` to `ModId` since I think the former is over-specific, and also this is more in line with `BodyId` or `OwnerId`.

I'll wait for initial feedback before fixing rustdoc/clippy.
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label Jul 14, 2026
@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-rustdoc-json Area: Rustdoc JSON backend A-testsuite Area: The testsuite used to check the correctness of rustc A-tidy Area: The tidy tool S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Jul 14, 2026
@JonathanBrouwer

Copy link
Copy Markdown
Contributor Author

@bors r+ rollup=never p=5

Trying commonly failed jobs
@bors try jobs=dist-various-1,test-various,x86_64-gnu-aux,x86_64-gnu-llvm-21-3,x86_64-msvc-1,aarch64-apple,x86_64-mingw-1,i686-msvc-*

@rust-bors

rust-bors Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 7fc7316 has been approved by JonathanBrouwer

It is now in the queue for this repository.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 14, 2026
@rust-bors

rust-bors Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

⌛ Trying commit 7fc7316 with merge 4c9ad9c

To cancel the try build, run the command @bors try cancel.

Workflow: https://github.com/rust-lang/rust/actions/runs/29327199058

rust-bors Bot pushed a commit that referenced this pull request Jul 14, 2026
Rollup of 15 pull requests


try-job: dist-various-1
try-job: test-various
try-job: x86_64-gnu-aux
try-job: x86_64-gnu-llvm-21-3
try-job: x86_64-msvc-1
try-job: aarch64-apple
try-job: x86_64-mingw-1
try-job: i686-msvc-*
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

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

Click to see the possible cause of the failure (guessed by this bot)
test [ui] tests/ui/traits/next-solver/overflow/recursive-self-normalization.rs ... ok
test [ui] tests/ui/traits/next-solver/pointee.rs ... ok
test [ui] tests/ui/traits/next-solver/prefer-param-env-on-ambiguity.rs ... ok
test [ui] tests/ui/traits/next-solver/prefer-candidate-no-constraints.rs ... ok
test [ui] tests/ui/traits/next-solver/rerun-if-any-opaque-or-has-infer-as-hidden-in-codegen.rs ... ok
test [ui] tests/ui/traits/next-solver/projection-discr-kind.rs ... ok
test [ui] tests/ui/traits/next-solver/self-referential-closure-sig-1.rs#next ... ok
test [ui] tests/ui/traits/next-solver/rpitit-cycle-due-to-rigid.rs ... ok
test [ui] tests/ui/traits/next-solver/self-referential-closure-sig-1.rs#old ... ok
test [ui] tests/ui/traits/next-solver/self-referential-closure-sig-3.rs#next ... ok
---
---- [ui] tests/ui/thir-print/thir-tree-field-expr-index.rs stdout ----
Saved the actual stdout to `/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/thir-print/thir-tree-field-expr-index/thir-tree-field-expr-index.stdout`
diff of stdout:

85                                                                             adt_def:
86                                                                                 AdtDef {
87                                                                                     did: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S)
-                                                                                     variants: [VariantDef { def_id: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S), ctor: None, name: "S", discr: Relative(0), fields: [FieldDef { did: DefId(0:4 ~ thir_tree_field_expr_index[5059]::S::a), name: "a", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:5 ~ thir_tree_field_expr_index[5059]::S::b), name: "b", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:6 ~ thir_tree_field_expr_index[5059]::S::c), name: "c", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:7 ~ thir_tree_field_expr_index[5059]::S::d), name: "d", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:8 ~ thir_tree_field_expr_index[5059]::S::e), name: "e", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }], tainted: None, flags:  }]
+                                                                                     variants: [VariantDef { def_id: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S), ctor: None, name: "S", discr: Relative(0), fields: [FieldDef { did: DefId(0:4 ~ thir_tree_field_expr_index[5059]::S::a), name: "a", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:5 ~ thir_tree_field_expr_index[5059]::S::b), name: "b", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:6 ~ thir_tree_field_expr_index[5059]::S::c), name: "c", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:7 ~ thir_tree_field_expr_index[5059]::S::d), name: "d", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:8 ~ thir_tree_field_expr_index[5059]::S::e), name: "e", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }], tainted: None, flags:  }]
89                                                                                     flags: IS_STRUCT
90                                                                                     repr: ReprOptions { int: None, align: None, pack: None, flags: , scalable: None, field_shuffle_seed: 7076349371981215213 }
91                                                                                 }

230                                                                             adt_def:
231                                                                                 AdtDef {
232                                                                                     did: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S)
-                                                                                     variants: [VariantDef { def_id: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S), ctor: None, name: "S", discr: Relative(0), fields: [FieldDef { did: DefId(0:4 ~ thir_tree_field_expr_index[5059]::S::a), name: "a", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:5 ~ thir_tree_field_expr_index[5059]::S::b), name: "b", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:6 ~ thir_tree_field_expr_index[5059]::S::c), name: "c", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:7 ~ thir_tree_field_expr_index[5059]::S::d), name: "d", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:8 ~ thir_tree_field_expr_index[5059]::S::e), name: "e", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }], tainted: None, flags:  }]
+                                                                                     variants: [VariantDef { def_id: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S), ctor: None, name: "S", discr: Relative(0), fields: [FieldDef { did: DefId(0:4 ~ thir_tree_field_expr_index[5059]::S::a), name: "a", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:5 ~ thir_tree_field_expr_index[5059]::S::b), name: "b", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:6 ~ thir_tree_field_expr_index[5059]::S::c), name: "c", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:7 ~ thir_tree_field_expr_index[5059]::S::d), name: "d", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:8 ~ thir_tree_field_expr_index[5059]::S::e), name: "e", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }], tainted: None, flags:  }]
234                                                                                     flags: IS_STRUCT
235                                                                                     repr: ReprOptions { int: None, align: None, pack: None, flags: , scalable: None, field_shuffle_seed: 7076349371981215213 }
236                                                                                 }

317                                                                             adt_def:
318                                                                                 AdtDef {
319                                                                                     did: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S)
-                                                                                     variants: [VariantDef { def_id: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S), ctor: None, name: "S", discr: Relative(0), fields: [FieldDef { did: DefId(0:4 ~ thir_tree_field_expr_index[5059]::S::a), name: "a", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:5 ~ thir_tree_field_expr_index[5059]::S::b), name: "b", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:6 ~ thir_tree_field_expr_index[5059]::S::c), name: "c", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:7 ~ thir_tree_field_expr_index[5059]::S::d), name: "d", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:8 ~ thir_tree_field_expr_index[5059]::S::e), name: "e", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }], tainted: None, flags:  }]
+                                                                                     variants: [VariantDef { def_id: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S), ctor: None, name: "S", discr: Relative(0), fields: [FieldDef { did: DefId(0:4 ~ thir_tree_field_expr_index[5059]::S::a), name: "a", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:5 ~ thir_tree_field_expr_index[5059]::S::b), name: "b", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:6 ~ thir_tree_field_expr_index[5059]::S::c), name: "c", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:7 ~ thir_tree_field_expr_index[5059]::S::d), name: "d", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:8 ~ thir_tree_field_expr_index[5059]::S::e), name: "e", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }], tainted: None, flags:  }]
321                                                                                     flags: IS_STRUCT
322                                                                                     repr: ReprOptions { int: None, align: None, pack: None, flags: , scalable: None, field_shuffle_seed: 7076349371981215213 }
323                                                                                 }

404                                                                             adt_def:
405                                                                                 AdtDef {
406                                                                                     did: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S)
-                                                                                     variants: [VariantDef { def_id: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S), ctor: None, name: "S", discr: Relative(0), fields: [FieldDef { did: DefId(0:4 ~ thir_tree_field_expr_index[5059]::S::a), name: "a", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:5 ~ thir_tree_field_expr_index[5059]::S::b), name: "b", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:6 ~ thir_tree_field_expr_index[5059]::S::c), name: "c", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:7 ~ thir_tree_field_expr_index[5059]::S::d), name: "d", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:8 ~ thir_tree_field_expr_index[5059]::S::e), name: "e", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }], tainted: None, flags:  }]
+                                                                                     variants: [VariantDef { def_id: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S), ctor: None, name: "S", discr: Relative(0), fields: [FieldDef { did: DefId(0:4 ~ thir_tree_field_expr_index[5059]::S::a), name: "a", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:5 ~ thir_tree_field_expr_index[5059]::S::b), name: "b", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:6 ~ thir_tree_field_expr_index[5059]::S::c), name: "c", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:7 ~ thir_tree_field_expr_index[5059]::S::d), name: "d", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:8 ~ thir_tree_field_expr_index[5059]::S::e), name: "e", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }], tainted: None, flags:  }]
408                                                                                     flags: IS_STRUCT
409                                                                                     repr: ReprOptions { int: None, align: None, pack: None, flags: , scalable: None, field_shuffle_seed: 7076349371981215213 }
410                                                                                 }

491                                                                             adt_def:
492                                                                                 AdtDef {
493                                                                                     did: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S)
-                                                                                     variants: [VariantDef { def_id: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S), ctor: None, name: "S", discr: Relative(0), fields: [FieldDef { did: DefId(0:4 ~ thir_tree_field_expr_index[5059]::S::a), name: "a", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:5 ~ thir_tree_field_expr_index[5059]::S::b), name: "b", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:6 ~ thir_tree_field_expr_index[5059]::S::c), name: "c", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:7 ~ thir_tree_field_expr_index[5059]::S::d), name: "d", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:8 ~ thir_tree_field_expr_index[5059]::S::e), name: "e", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }], tainted: None, flags:  }]
+                                                                                     variants: [VariantDef { def_id: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S), ctor: None, name: "S", discr: Relative(0), fields: [FieldDef { did: DefId(0:4 ~ thir_tree_field_expr_index[5059]::S::a), name: "a", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:5 ~ thir_tree_field_expr_index[5059]::S::b), name: "b", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:6 ~ thir_tree_field_expr_index[5059]::S::c), name: "c", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:7 ~ thir_tree_field_expr_index[5059]::S::d), name: "d", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:8 ~ thir_tree_field_expr_index[5059]::S::e), name: "e", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }], tainted: None, flags:  }]
495                                                                                     flags: IS_STRUCT
496                                                                                     repr: ReprOptions { int: None, align: None, pack: None, flags: , scalable: None, field_shuffle_seed: 7076349371981215213 }
497                                                                                 }

578                                                                             adt_def:
579                                                                                 AdtDef {
580                                                                                     did: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S)
-                                                                                     variants: [VariantDef { def_id: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S), ctor: None, name: "S", discr: Relative(0), fields: [FieldDef { did: DefId(0:4 ~ thir_tree_field_expr_index[5059]::S::a), name: "a", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:5 ~ thir_tree_field_expr_index[5059]::S::b), name: "b", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:6 ~ thir_tree_field_expr_index[5059]::S::c), name: "c", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:7 ~ thir_tree_field_expr_index[5059]::S::d), name: "d", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:8 ~ thir_tree_field_expr_index[5059]::S::e), name: "e", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }], tainted: None, flags:  }]
+                                                                                     variants: [VariantDef { def_id: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S), ctor: None, name: "S", discr: Relative(0), fields: [FieldDef { did: DefId(0:4 ~ thir_tree_field_expr_index[5059]::S::a), name: "a", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:5 ~ thir_tree_field_expr_index[5059]::S::b), name: "b", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:6 ~ thir_tree_field_expr_index[5059]::S::c), name: "c", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:7 ~ thir_tree_field_expr_index[5059]::S::d), name: "d", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:8 ~ thir_tree_field_expr_index[5059]::S::e), name: "e", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }], tainted: None, flags:  }]
582                                                                                     flags: IS_STRUCT
583                                                                                     repr: ReprOptions { int: None, align: None, pack: None, flags: , scalable: None, field_shuffle_seed: 7076349371981215213 }
584                                                                                 }

665                                                                             adt_def:
666                                                                                 AdtDef {
667                                                                                     did: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S)
-                                                                                     variants: [VariantDef { def_id: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S), ctor: None, name: "S", discr: Relative(0), fields: [FieldDef { did: DefId(0:4 ~ thir_tree_field_expr_index[5059]::S::a), name: "a", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:5 ~ thir_tree_field_expr_index[5059]::S::b), name: "b", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:6 ~ thir_tree_field_expr_index[5059]::S::c), name: "c", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:7 ~ thir_tree_field_expr_index[5059]::S::d), name: "d", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:8 ~ thir_tree_field_expr_index[5059]::S::e), name: "e", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }], tainted: None, flags:  }]
+                                                                                     variants: [VariantDef { def_id: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S), ctor: None, name: "S", discr: Relative(0), fields: [FieldDef { did: DefId(0:4 ~ thir_tree_field_expr_index[5059]::S::a), name: "a", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:5 ~ thir_tree_field_expr_index[5059]::S::b), name: "b", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:6 ~ thir_tree_field_expr_index[5059]::S::c), name: "c", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:7 ~ thir_tree_field_expr_index[5059]::S::d), name: "d", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:8 ~ thir_tree_field_expr_index[5059]::S::e), name: "e", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }], tainted: None, flags:  }]
669                                                                                     flags: IS_STRUCT
670                                                                                     repr: ReprOptions { int: None, align: None, pack: None, flags: , scalable: None, field_shuffle_seed: 7076349371981215213 }
671                                                                                 }

773                                                                             adt_def:
774                                                                                 AdtDef {
775                                                                                     did: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S)
-                                                                                     variants: [VariantDef { def_id: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S), ctor: None, name: "S", discr: Relative(0), fields: [FieldDef { did: DefId(0:4 ~ thir_tree_field_expr_index[5059]::S::a), name: "a", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:5 ~ thir_tree_field_expr_index[5059]::S::b), name: "b", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:6 ~ thir_tree_field_expr_index[5059]::S::c), name: "c", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:7 ~ thir_tree_field_expr_index[5059]::S::d), name: "d", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }, FieldDef { did: DefId(0:8 ~ thir_tree_field_expr_index[5059]::S::e), name: "e", vis: Restricted(DefId(0:0 ~ thir_tree_field_expr_index[5059])), safety: Safe, value: None }], tainted: None, flags:  }]
+                                                                                     variants: [VariantDef { def_id: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S), ctor: None, name: "S", discr: Relative(0), fields: [FieldDef { did: DefId(0:4 ~ thir_tree_field_expr_index[5059]::S::a), name: "a", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:5 ~ thir_tree_field_expr_index[5059]::S::b), name: "b", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:6 ~ thir_tree_field_expr_index[5059]::S::c), name: "c", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:7 ~ thir_tree_field_expr_index[5059]::S::d), name: "d", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:8 ~ thir_tree_field_expr_index[5059]::S::e), name: "e", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }], tainted: None, flags:  }]
777                                                                                     flags: IS_STRUCT
778                                                                                     repr: ReprOptions { int: None, align: None, pack: None, flags: , scalable: None, field_shuffle_seed: 7076349371981215213 }
779                                                                                 }


The actual stdout differed from the expected stdout
To update references, rerun the tests and pass the `--bless` flag
To only update this specific test, also pass `--test-args thir-print/thir-tree-field-expr-index.rs`

error: 1 errors occurred comparing output.
status: exit status: 0
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "/checkout/tests/ui/thir-print/thir-tree-field-expr-index.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/x86_64-unknown-linux-gnu/stage1" "--target=x86_64-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/x86_64-unknown-linux-gnu/test/ui/thir-print/thir-tree-field-expr-index" "-A" "unused" "-W" "unused_attributes" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Zunpretty=thir-tree"
--- stdout -------------------------------
DefId(0:9 ~ thir_tree_field_expr_index[5059]::update):
params: [
    Param {
        ty: u32
        ty_span: Some(/checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:12:14: 12:17 (#0))
        self_kind: None
        hir_id: Some(HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).1))
        param: Some( 
            Pat {
                ty: u32
                span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:12:11: 12:12 (#0)
                kind: PatKind {
                    Binding {
                        name: "x"
                        mode: BindingMode(No, Not)
                        var: LocalVarId(HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).2))
                        ty: u32
                        is_primary: true
                        is_shorthand: false
                        subpattern: None
                    }
                }
---
        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:12:19: 23:2 (#0)
        kind: 
            Scope {
                region_scope: Node(89)
                hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).89)
                value:
                    Expr {
                        ty: ()
                        temp_scope_id: 89
                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:12:19: 23:2 (#0)
                        kind: 
                            Block {
                                targeted_by_break: false
                                span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:12:19: 23:2 (#0)
                                region_scope: Node(3)
                                safety_mode: Safe
                                stmts: [
                                    Stmt {
                                        kind: Let {
                                            remainder_scope: Remainder { block: 3, first_statement_index: 0}
                                            init_scope: Node(4)
                                            pattern: 
                                                Pat {
                                                    ty: S
                                                    span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:13:7: 13:8 (#0)
                                                    kind: PatKind {
                                                        Binding {
                                                            name: "s"
                                                            mode: BindingMode(No, Not)
                                                            var: LocalVarId(HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).23))
                                                            ty: S
                                                            is_primary: true
                                                            is_shorthand: false
                                                            subpattern: None
                                                        }
                                                    }
---
                                                    span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:13:11: 13:45 (#0)
                                                    kind: 
                                                        Scope {
                                                            region_scope: Node(5)
                                                            hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).5)
                                                            value:
                                                                Expr {
                                                                    ty: S
                                                                    temp_scope_id: 5
                                                                    span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:13:11: 13:45 (#0)
                                                                    kind: 
                                                                        Adt {
                                                                            adt_def:
                                                                                AdtDef {
                                                                                    did: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S)
                                                                                    variants: [VariantDef { def_id: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S), ctor: None, name: "S", discr: Relative(0), fields: [FieldDef { did: DefId(0:4 ~ thir_tree_field_expr_index[5059]::S::a), name: "a", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:5 ~ thir_tree_field_expr_index[5059]::S::b), name: "b", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:6 ~ thir_tree_field_expr_index[5059]::S::c), name: "c", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:7 ~ thir_tree_field_expr_index[5059]::S::d), name: "d", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:8 ~ thir_tree_field_expr_index[5059]::S::e), name: "e", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }], tainted: None, flags:  }]
                                                                                    flags: IS_STRUCT
                                                                                    repr: ReprOptions { int: None, align: None, pack: None, flags: , scalable: None, field_shuffle_seed: 7076349371981215213 }
                                                                                }
                                                                                variant_index: 0
                                                                                args: []
                                                                                user_ty: None
                                                                                field 0:
                                                                                    Expr {
                                                                                        ty: u32
                                                                                        temp_scope_id: 8
                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:13:18: 13:19 (#0)
                                                                                        kind: 
                                                                                            Scope {
                                                                                                region_scope: Node(8)
                                                                                                hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).8)
                                                                                                value:
                                                                                                    Expr {
                                                                                                        ty: u32
                                                                                                        temp_scope_id: 8
                                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:13:18: 13:19 (#0)
                                                                                                        kind: 
                                                                                                            VarRef {
                                                                                                                id: LocalVarId(HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).2))
                                                                                                            }
                                                                                                    }
                                                                                            }
                                                                                    }
                                                                                field 1:
                                                                                    Expr {
                                                                                        ty: u32
                                                                                        temp_scope_id: 11
                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:13:24: 13:25 (#0)
                                                                                        kind: 
                                                                                            Scope {
                                                                                                region_scope: Node(11)
                                                                                                hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).11)
                                                                                                value:
                                                                                                    Expr {
                                                                                                        ty: u32
                                                                                                        temp_scope_id: 11
                                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:13:24: 13:25 (#0)
                                                                                                        kind: 
                                                                                                            VarRef {
                                                                                                                id: LocalVarId(HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).2))
                                                                                                            }
                                                                                                    }
                                                                                            }
                                                                                    }
                                                                                field 2:
                                                                                    Expr {
                                                                                        ty: u32
                                                                                        temp_scope_id: 14
                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:13:30: 13:31 (#0)
                                                                                        kind: 
                                                                                            Scope {
                                                                                                region_scope: Node(14)
                                                                                                hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).14)
                                                                                                value:
                                                                                                    Expr {
                                                                                                        ty: u32
                                                                                                        temp_scope_id: 14
                                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:13:30: 13:31 (#0)
                                                                                                        kind: 
                                                                                                            VarRef {
                                                                                                                id: LocalVarId(HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).2))
                                                                                                            }
                                                                                                    }
                                                                                            }
                                                                                    }
                                                                                field 3:
                                                                                    Expr {
                                                                                        ty: u32
                                                                                        temp_scope_id: 17
                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:13:36: 13:37 (#0)
                                                                                        kind: 
                                                                                            Scope {
                                                                                                region_scope: Node(17)
                                                                                                hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).17)
                                                                                                value:
                                                                                                    Expr {
                                                                                                        ty: u32
                                                                                                        temp_scope_id: 17
                                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:13:36: 13:37 (#0)
                                                                                                        kind: 
                                                                                                            VarRef {
                                                                                                                id: LocalVarId(HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).2))
                                                                                                            }
                                                                                                    }
                                                                                            }
                                                                                    }
                                                                                field 4:
                                                                                    Expr {
                                                                                        ty: u32
                                                                                        temp_scope_id: 20
                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:13:42: 13:43 (#0)
                                                                                        kind: 
                                                                                            Scope {
                                                                                                region_scope: Node(20)
                                                                                                hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).20)
                                                                                                value:
                                                                                                    Expr {
                                                                                                        ty: u32
                                                                                                        temp_scope_id: 20
                                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:13:42: 13:43 (#0)
                                                                                                        kind: 
                                                                                                            VarRef {
                                                                                                                id: LocalVarId(HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).2))
                                                                                                            }
                                                                                                    }
                                                                                            }
                                                                                    }
                                                                                base: None
                                                                        }
                                                                }
                                                        }
                                                }
                                            )
                                            else_block: None
                                            hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).22)
                                            span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:13:3: 13:45 (#0)
                                        }
                                    }
                                    Stmt {
                                        kind: Expr {
                                            scope: Node(31)
---
                                                    span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:15:3: 15:19 (#0)
                                                    kind: 
                                                        Scope {
                                                            region_scope: Node(24)
                                                            hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).24)
                                                            value:
                                                                Expr {
                                                                    ty: S
                                                                    temp_scope_id: 24
                                                                    span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:15:3: 15:19 (#0)
                                                                    kind: 
                                                                        Adt {
                                                                            adt_def:
                                                                                AdtDef {
                                                                                    did: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S)
                                                                                    variants: [VariantDef { def_id: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S), ctor: None, name: "S", discr: Relative(0), fields: [FieldDef { did: DefId(0:4 ~ thir_tree_field_expr_index[5059]::S::a), name: "a", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:5 ~ thir_tree_field_expr_index[5059]::S::b), name: "b", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:6 ~ thir_tree_field_expr_index[5059]::S::c), name: "c", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:7 ~ thir_tree_field_expr_index[5059]::S::d), name: "d", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:8 ~ thir_tree_field_expr_index[5059]::S::e), name: "e", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }], tainted: None, flags:  }]
                                                                                    flags: IS_STRUCT
                                                                                    repr: ReprOptions { int: None, align: None, pack: None, flags: , scalable: None, field_shuffle_seed: 7076349371981215213 }
                                                                                }
                                                                                variant_index: 0
                                                                                args: []
                                                                                user_ty: None
                                                                                field 0:
                                                                                    Expr {
                                                                                        ty: u32
                                                                                        temp_scope_id: 29
                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:15:10: 15:11 (#0)
                                                                                        kind: 
                                                                                            Scope {
                                                                                                region_scope: Node(29)
                                                                                                hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).29)
                                                                                                value:
                                                                                                    Expr {
                                                                                                        ty: u32
                                                                                                        temp_scope_id: 29
                                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:15:10: 15:11 (#0)
                                                                                                        kind: 
                                                                                                            VarRef {
                                                                                                                id: LocalVarId(HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).2))
                                                                                                            }
                                                                                                    }
                                                                                            }
                                                                                    }
                                                                                base:
---
                                                                                                span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:15:16: 15:17 (#0)
                                                                                                kind: 
                                                                                                    Scope {
                                                                                                        region_scope: Node(25)
                                                                                                        hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).25)
                                                                                                        value:
                                                                                                            Expr {
                                                                                                                ty: S
                                                                                                                temp_scope_id: 25
                                                                                                                span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:15:16: 15:17 (#0)
                                                                                                                kind: 
                                                                                                                    VarRef {
                                                                                                                        id: LocalVarId(HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).23))
                                                                                                                    }
                                                                                                            }
                                                                                                    }
                                                                                            }
                                                                                        field_types: [
---
                                                    span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:16:3: 16:19 (#0)
                                                    kind: 
                                                        Scope {
                                                            region_scope: Node(32)
                                                            hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).32)
                                                            value:
                                                                Expr {
                                                                    ty: S
                                                                    temp_scope_id: 32
                                                                    span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:16:3: 16:19 (#0)
                                                                    kind: 
                                                                        Adt {
                                                                            adt_def:
                                                                                AdtDef {
                                                                                    did: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S)
                                                                                    variants: [VariantDef { def_id: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S), ctor: None, name: "S", discr: Relative(0), fields: [FieldDef { did: DefId(0:4 ~ thir_tree_field_expr_index[5059]::S::a), name: "a", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:5 ~ thir_tree_field_expr_index[5059]::S::b), name: "b", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:6 ~ thir_tree_field_expr_index[5059]::S::c), name: "c", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:7 ~ thir_tree_field_expr_index[5059]::S::d), name: "d", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:8 ~ thir_tree_field_expr_index[5059]::S::e), name: "e", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }], tainted: None, flags:  }]
                                                                                    flags: IS_STRUCT
                                                                                    repr: ReprOptions { int: None, align: None, pack: None, flags: , scalable: None, field_shuffle_seed: 7076349371981215213 }
                                                                                }
                                                                                variant_index: 0
                                                                                args: []
                                                                                user_ty: None
                                                                                field 1:
                                                                                    Expr {
                                                                                        ty: u32
                                                                                        temp_scope_id: 37
                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:16:10: 16:11 (#0)
                                                                                        kind: 
                                                                                            Scope {
                                                                                                region_scope: Node(37)
                                                                                                hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).37)
                                                                                                value:
                                                                                                    Expr {
                                                                                                        ty: u32
                                                                                                        temp_scope_id: 37
                                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:16:10: 16:11 (#0)
                                                                                                        kind: 
                                                                                                            VarRef {
                                                                                                                id: LocalVarId(HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).2))
                                                                                                            }
                                                                                                    }
                                                                                            }
                                                                                    }
                                                                                base:
---
                                                                                                span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:16:16: 16:17 (#0)
                                                                                                kind: 
                                                                                                    Scope {
                                                                                                        region_scope: Node(33)
                                                                                                        hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).33)
                                                                                                        value:
                                                                                                            Expr {
                                                                                                                ty: S
                                                                                                                temp_scope_id: 33
                                                                                                                span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:16:16: 16:17 (#0)
                                                                                                                kind: 
                                                                                                                    VarRef {
                                                                                                                        id: LocalVarId(HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).23))
                                                                                                                    }
                                                                                                            }
                                                                                                    }
                                                                                            }
                                                                                        field_types: [
---
                                                    span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:17:3: 17:19 (#0)
                                                    kind: 
                                                        Scope {
                                                            region_scope: Node(40)
                                                            hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).40)
                                                            value:
                                                                Expr {
                                                                    ty: S
                                                                    temp_scope_id: 40
                                                                    span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:17:3: 17:19 (#0)
                                                                    kind: 
                                                                        Adt {
                                                                            adt_def:
                                                                                AdtDef {
                                                                                    did: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S)
                                                                                    variants: [VariantDef { def_id: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S), ctor: None, name: "S", discr: Relative(0), fields: [FieldDef { did: DefId(0:4 ~ thir_tree_field_expr_index[5059]::S::a), name: "a", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:5 ~ thir_tree_field_expr_index[5059]::S::b), name: "b", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:6 ~ thir_tree_field_expr_index[5059]::S::c), name: "c", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:7 ~ thir_tree_field_expr_index[5059]::S::d), name: "d", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:8 ~ thir_tree_field_expr_index[5059]::S::e), name: "e", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }], tainted: None, flags:  }]
                                                                                    flags: IS_STRUCT
                                                                                    repr: ReprOptions { int: None, align: None, pack: None, flags: , scalable: None, field_shuffle_seed: 7076349371981215213 }
                                                                                }
                                                                                variant_index: 0
                                                                                args: []
                                                                                user_ty: None
                                                                                field 2:
                                                                                    Expr {
                                                                                        ty: u32
                                                                                        temp_scope_id: 45
                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:17:10: 17:11 (#0)
                                                                                        kind: 
                                                                                            Scope {
                                                                                                region_scope: Node(45)
                                                                                                hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).45)
                                                                                                value:
                                                                                                    Expr {
                                                                                                        ty: u32
                                                                                                        temp_scope_id: 45
                                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:17:10: 17:11 (#0)
                                                                                                        kind: 
                                                                                                            VarRef {
                                                                                                                id: LocalVarId(HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).2))
                                                                                                            }
                                                                                                    }
                                                                                            }
                                                                                    }
                                                                                base:
---
                                                                                                span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:17:16: 17:17 (#0)
                                                                                                kind: 
                                                                                                    Scope {
                                                                                                        region_scope: Node(41)
                                                                                                        hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).41)
                                                                                                        value:
                                                                                                            Expr {
                                                                                                                ty: S
                                                                                                                temp_scope_id: 41
                                                                                                                span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:17:16: 17:17 (#0)
                                                                                                                kind: 
                                                                                                                    VarRef {
                                                                                                                        id: LocalVarId(HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).23))
                                                                                                                    }
                                                                                                            }
                                                                                                    }
                                                                                            }
                                                                                        field_types: [
---
                                                    span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:18:3: 18:19 (#0)
                                                    kind: 
                                                        Scope {
                                                            region_scope: Node(48)
                                                            hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).48)
                                                            value:
                                                                Expr {
                                                                    ty: S
                                                                    temp_scope_id: 48
                                                                    span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:18:3: 18:19 (#0)
                                                                    kind: 
                                                                        Adt {
                                                                            adt_def:
                                                                                AdtDef {
                                                                                    did: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S)
                                                                                    variants: [VariantDef { def_id: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S), ctor: None, name: "S", discr: Relative(0), fields: [FieldDef { did: DefId(0:4 ~ thir_tree_field_expr_index[5059]::S::a), name: "a", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:5 ~ thir_tree_field_expr_index[5059]::S::b), name: "b", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:6 ~ thir_tree_field_expr_index[5059]::S::c), name: "c", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:7 ~ thir_tree_field_expr_index[5059]::S::d), name: "d", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:8 ~ thir_tree_field_expr_index[5059]::S::e), name: "e", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }], tainted: None, flags:  }]
                                                                                    flags: IS_STRUCT
                                                                                    repr: ReprOptions { int: None, align: None, pack: None, flags: , scalable: None, field_shuffle_seed: 7076349371981215213 }
                                                                                }
                                                                                variant_index: 0
                                                                                args: []
                                                                                user_ty: None
                                                                                field 3:
                                                                                    Expr {
                                                                                        ty: u32
                                                                                        temp_scope_id: 53
                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:18:10: 18:11 (#0)
                                                                                        kind: 
                                                                                            Scope {
                                                                                                region_scope: Node(53)
                                                                                                hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).53)
                                                                                                value:
                                                                                                    Expr {
                                                                                                        ty: u32
                                                                                                        temp_scope_id: 53
                                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:18:10: 18:11 (#0)
                                                                                                        kind: 
                                                                                                            VarRef {
                                                                                                                id: LocalVarId(HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).2))
                                                                                                            }
                                                                                                    }
                                                                                            }
                                                                                    }
                                                                                base:
---
                                                                                                span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:18:16: 18:17 (#0)
                                                                                                kind: 
                                                                                                    Scope {
                                                                                                        region_scope: Node(49)
                                                                                                        hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).49)
                                                                                                        value:
                                                                                                            Expr {
                                                                                                                ty: S
                                                                                                                temp_scope_id: 49
                                                                                                                span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:18:16: 18:17 (#0)
                                                                                                                kind: 
                                                                                                                    VarRef {
                                                                                                                        id: LocalVarId(HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).23))
                                                                                                                    }
                                                                                                            }
                                                                                                    }
                                                                                            }
                                                                                        field_types: [
---
                                                    span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:19:3: 19:19 (#0)
                                                    kind: 
                                                        Scope {
                                                            region_scope: Node(56)
                                                            hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).56)
                                                            value:
                                                                Expr {
                                                                    ty: S
                                                                    temp_scope_id: 56
                                                                    span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:19:3: 19:19 (#0)
                                                                    kind: 
                                                                        Adt {
                                                                            adt_def:
                                                                                AdtDef {
                                                                                    did: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S)
                                                                                    variants: [VariantDef { def_id: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S), ctor: None, name: "S", discr: Relative(0), fields: [FieldDef { did: DefId(0:4 ~ thir_tree_field_expr_index[5059]::S::a), name: "a", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:5 ~ thir_tree_field_expr_index[5059]::S::b), name: "b", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:6 ~ thir_tree_field_expr_index[5059]::S::c), name: "c", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:7 ~ thir_tree_field_expr_index[5059]::S::d), name: "d", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:8 ~ thir_tree_field_expr_index[5059]::S::e), name: "e", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }], tainted: None, flags:  }]
                                                                                    flags: IS_STRUCT
                                                                                    repr: ReprOptions { int: None, align: None, pack: None, flags: , scalable: None, field_shuffle_seed: 7076349371981215213 }
                                                                                }
                                                                                variant_index: 0
                                                                                args: []
                                                                                user_ty: None
                                                                                field 4:
                                                                                    Expr {
                                                                                        ty: u32
                                                                                        temp_scope_id: 61
                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:19:10: 19:11 (#0)
                                                                                        kind: 
                                                                                            Scope {
                                                                                                region_scope: Node(61)
                                                                                                hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).61)
                                                                                                value:
                                                                                                    Expr {
                                                                                                        ty: u32
                                                                                                        temp_scope_id: 61
                                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:19:10: 19:11 (#0)
                                                                                                        kind: 
                                                                                                            VarRef {
                                                                                                                id: LocalVarId(HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).2))
                                                                                                            }
                                                                                                    }
                                                                                            }
                                                                                    }
                                                                                base:
---
                                                                                                span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:19:16: 19:17 (#0)
                                                                                                kind: 
                                                                                                    Scope {
                                                                                                        region_scope: Node(57)
                                                                                                        hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).57)
                                                                                                        value:
                                                                                                            Expr {
                                                                                                                ty: S
                                                                                                                temp_scope_id: 57
                                                                                                                span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:19:16: 19:17 (#0)
                                                                                                                kind: 
                                                                                                                    VarRef {
                                                                                                                        id: LocalVarId(HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).23))
                                                                                                                    }
                                                                                                            }
                                                                                                    }
                                                                                            }
                                                                                        field_types: [
---
                                                    span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:21:3: 21:24 (#0)
                                                    kind: 
                                                        Scope {
                                                            region_scope: Node(64)
                                                            hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).64)
                                                            value:
                                                                Expr {
                                                                    ty: S
                                                                    temp_scope_id: 64
                                                                    span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:21:3: 21:24 (#0)
                                                                    kind: 
                                                                        Adt {
                                                                            adt_def:
                                                                                AdtDef {
                                                                                    did: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S)
                                                                                    variants: [VariantDef { def_id: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S), ctor: None, name: "S", discr: Relative(0), fields: [FieldDef { did: DefId(0:4 ~ thir_tree_field_expr_index[5059]::S::a), name: "a", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:5 ~ thir_tree_field_expr_index[5059]::S::b), name: "b", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:6 ~ thir_tree_field_expr_index[5059]::S::c), name: "c", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:7 ~ thir_tree_field_expr_index[5059]::S::d), name: "d", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:8 ~ thir_tree_field_expr_index[5059]::S::e), name: "e", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }], tainted: None, flags:  }]
                                                                                    flags: IS_STRUCT
                                                                                    repr: ReprOptions { int: None, align: None, pack: None, flags: , scalable: None, field_shuffle_seed: 7076349371981215213 }
                                                                                }
                                                                                variant_index: 0
                                                                                args: []
                                                                                user_ty: None
                                                                                field 1:
                                                                                    Expr {
                                                                                        ty: u32
                                                                                        temp_scope_id: 69
                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:21:10: 21:11 (#0)
                                                                                        kind: 
                                                                                            Scope {
                                                                                                region_scope: Node(69)
                                                                                                hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).69)
                                                                                                value:
                                                                                                    Expr {
                                                                                                        ty: u32
                                                                                                        temp_scope_id: 69
                                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:21:10: 21:11 (#0)
                                                                                                        kind: 
                                                                                                            VarRef {
                                                                                                                id: LocalVarId(HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).2))
                                                                                                            }
                                                                                                    }
                                                                                            }
                                                                                    }
                                                                                field 3:
                                                                                    Expr {
                                                                                        ty: u32
                                                                                        temp_scope_id: 72
                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:21:16: 21:17 (#0)
                                                                                        kind: 
                                                                                            Scope {
                                                                                                region_scope: Node(72)
                                                                                                hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).72)
                                                                                                value:
                                                                                                    Expr {
                                                                                                        ty: u32
                                                                                                        temp_scope_id: 72
                                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:21:16: 21:17 (#0)
                                                                                                        kind: 
                                                                                                            VarRef {
                                                                                                                id: LocalVarId(HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).2))
                                                                                                            }
                                                                                                    }
                                                                                            }
                                                                                    }
                                                                                base:
---
                                                                                                span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:21:21: 21:22 (#0)
                                                                                                kind: 
                                                                                                    Scope {
                                                                                                        region_scope: Node(65)
                                                                                                        hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).65)
                                                                                                        value:
                                                                                                            Expr {
                                                                                                                ty: S
                                                                                                                temp_scope_id: 65
                                                                                                                span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:21:21: 21:22 (#0)
                                                                                                                kind: 
                                                                                                                    VarRef {
                                                                                                                        id: LocalVarId(HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).23))
                                                                                                                    }
                                                                                                            }
                                                                                                    }
                                                                                            }
                                                                                        field_types: [
---
                                                    span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:22:3: 22:30 (#0)
                                                    kind: 
                                                        Scope {
                                                            region_scope: Node(75)
                                                            hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).75)
                                                            value:
                                                                Expr {
                                                                    ty: S
                                                                    temp_scope_id: 75
                                                                    span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:22:3: 22:30 (#0)
                                                                    kind: 
                                                                        Adt {
                                                                            adt_def:
                                                                                AdtDef {
                                                                                    did: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S)
                                                                                    variants: [VariantDef { def_id: DefId(0:3 ~ thir_tree_field_expr_index[5059]::S), ctor: None, name: "S", discr: Relative(0), fields: [FieldDef { did: DefId(0:4 ~ thir_tree_field_expr_index[5059]::S::a), name: "a", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:5 ~ thir_tree_field_expr_index[5059]::S::b), name: "b", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:6 ~ thir_tree_field_expr_index[5059]::S::c), name: "c", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:7 ~ thir_tree_field_expr_index[5059]::S::d), name: "d", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }, FieldDef { did: DefId(0:8 ~ thir_tree_field_expr_index[5059]::S::e), name: "e", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_field_expr_index[5059]))), safety: Safe, value: None }], tainted: None, flags:  }]
                                                                                    flags: IS_STRUCT
                                                                                    repr: ReprOptions { int: None, align: None, pack: None, flags: , scalable: None, field_shuffle_seed: 7076349371981215213 }
                                                                                }
                                                                                variant_index: 0
                                                                                args: []
                                                                                user_ty: None
                                                                                field 0:
                                                                                    Expr {
                                                                                        ty: u32
                                                                                        temp_scope_id: 80
                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:22:10: 22:11 (#0)
                                                                                        kind: 
                                                                                            Scope {
                                                                                                region_scope: Node(80)
                                                                                                hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).80)
                                                                                                value:
                                                                                                    Expr {
                                                                                                        ty: u32
                                                                                                        temp_scope_id: 80
                                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:22:10: 22:11 (#0)
                                                                                                        kind: 
                                                                                                            VarRef {
                                                                                                                id: LocalVarId(HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).2))
                                                                                                            }
                                                                                                    }
                                                                                            }
                                                                                    }
                                                                                field 2:
                                                                                    Expr {
                                                                                        ty: u32
                                                                                        temp_scope_id: 83
                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:22:16: 22:17 (#0)
                                                                                        kind: 
                                                                                            Scope {
                                                                                                region_scope: Node(83)
                                                                                                hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).83)
                                                                                                value:
                                                                                                    Expr {
                                                                                                        ty: u32
                                                                                                        temp_scope_id: 83
                                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:22:16: 22:17 (#0)
                                                                                                        kind: 
                                                                                                            VarRef {
                                                                                                                id: LocalVarId(HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).2))
                                                                                                            }
                                                                                                    }
                                                                                            }
                                                                                    }
                                                                                field 4:
                                                                                    Expr {
                                                                                        ty: u32
                                                                                        temp_scope_id: 86
                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:22:22: 22:23 (#0)
                                                                                        kind: 
                                                                                            Scope {
                                                                                                region_scope: Node(86)
                                                                                                hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).86)
                                                                                                value:
                                                                                                    Expr {
                                                                                                        ty: u32
                                                                                                        temp_scope_id: 86
                                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:22:22: 22:23 (#0)
                                                                                                        kind: 
                                                                                                            VarRef {
                                                                                                                id: LocalVarId(HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).2))
                                                                                                            }
                                                                                                    }
                                                                                            }
                                                                                    }
                                                                                base:
---
                                                                                                span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:22:27: 22:28 (#0)
                                                                                                kind: 
                                                                                                    Scope {
                                                                                                        region_scope: Node(76)
                                                                                                        hir_id: HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).76)
                                                                                                        value:
                                                                                                            Expr {
                                                                                                                ty: S
                                                                                                                temp_scope_id: 76
                                                                                                                span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:22:27: 22:28 (#0)
                                                                                                                kind: 
                                                                                                                    VarRef {
                                                                                                                        id: LocalVarId(HirId(DefId(0:9 ~ thir_tree_field_expr_index[5059]::update).23))
                                                                                                                    }
                                                                                                            }
                                                                                                    }
                                                                                            }
                                                                                        field_types: [
---
            }
    }


DefId(0:10 ~ thir_tree_field_expr_index[5059]::main):
params: [
]
body:
    Expr {
        ty: ()
        temp_scope_id: 2
        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:25:11: 25:13 (#0)
        kind: 
            Scope {
                region_scope: Node(2)
                hir_id: HirId(DefId(0:10 ~ thir_tree_field_expr_index[5059]::main).2)
                value:
                    Expr {
                        ty: ()
                        temp_scope_id: 2
                        span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:25:11: 25:13 (#0)
                        kind: 
                            Block {
                                targeted_by_break: false
                                span: /checkout/tests/ui/thir-print/thir-tree-field-expr-index.rs:25:11: 25:13 (#0)
                                region_scope: Node(1)
                                safety_mode: Safe
                                stmts: []
                                expr: []
                            }
---
---- [ui] tests/ui/thir-print/thir-tree-match.rs stdout ----
Saved the actual stdout to `/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/thir-print/thir-tree-match/thir-tree-match.stdout`
diff of stdout:

93                                                                                         adt_def: 
94                                                                                             AdtDef {
95                                                                                                 did: DefId(0:10 ~ thir_tree_match[fcf8]::Foo)
-                                                                                                 variants: [VariantDef { def_id: DefId(0:11 ~ thir_tree_match[fcf8]::Foo::FooOne), ctor: Some((Fn, DefId(0:12 ~ thir_tree_match[fcf8]::Foo::FooOne::{constructor#0}))), name: "FooOne", discr: Relative(0), fields: [FieldDef { did: DefId(0:13 ~ thir_tree_match[fcf8]::Foo::FooOne::0), name: "0", vis: Restricted(DefId(0:0 ~ thir_tree_match[fcf8])), safety: Safe, value: None }], tainted: None, flags:  }, VariantDef { def_id: DefId(0:14 ~ thir_tree_match[fcf8]::Foo::FooTwo), ctor: Some((Const, DefId(0:15 ~ thir_tree_match[fcf8]::Foo::FooTwo::{constructor#0}))), name: "FooTwo", discr: Relative(1), fields: [], tainted: None, flags:  }]
+                                                                                                 variants: [VariantDef { def_id: DefId(0:11 ~ thir_tree_match[fcf8]::Foo::FooOne), ctor: Some((Fn, DefId(0:12 ~ thir_tree_match[fcf8]::Foo::FooOne::{constructor#0}))), name: "FooOne", discr: Relative(0), fields: [FieldDef { did: DefId(0:13 ~ thir_tree_match[fcf8]::Foo::FooOne::0), name: "0", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_match[fcf8]))), safety: Safe, value: None }], tainted: None, flags:  }, VariantDef { def_id: DefId(0:14 ~ thir_tree_match[fcf8]::Foo::FooTwo), ctor: Some((Const, DefId(0:15 ~ thir_tree_match[fcf8]::Foo::FooTwo::{constructor#0}))), name: "FooTwo", discr: Relative(1), fields: [], tainted: None, flags:  }]
97                                                                                                 flags: IS_ENUM
98                                                                                                 repr: ReprOptions { int: None, align: None, pack: None, flags: , scalable: None, field_shuffle_seed: 13397682652773712997 }
99                                                                                             }

157                                                                                         adt_def: 
158                                                                                             AdtDef {
159                                                                                                 did: DefId(0:10 ~ thir_tree_match[fcf8]::Foo)
-                                                                                                 variants: [VariantDef { def_id: DefId(0:11 ~ thir_tree_match[fcf8]::Foo::FooOne), ctor: Some((Fn, DefId(0:12 ~ thir_tree_match[fcf8]::Foo::FooOne::{constructor#0}))), name: "FooOne", discr: Relative(0), fields: [FieldDef { did: DefId(0:13 ~ thir_tree_match[fcf8]::Foo::FooOne::0), name: "0", vis: Restricted(DefId(0:0 ~ thir_tree_match[fcf8])), safety: Safe, value: None }], tainted: None, flags:  }, VariantDef { def_id: DefId(0:14 ~ thir_tree_match[fcf8]::Foo::FooTwo), ctor: Some((Const, DefId(0:15 ~ thir_tree_match[fcf8]::Foo::FooTwo::{constructor#0}))), name: "FooTwo", discr: Relative(1), fields: [], tainted: None, flags:  }]
+                                                                                                 variants: [VariantDef { def_id: DefId(0:11 ~ thir_tree_match[fcf8]::Foo::FooOne), ctor: Some((Fn, DefId(0:12 ~ thir_tree_match[fcf8]::Foo::FooOne::{constructor#0}))), name: "FooOne", discr: Relative(0), fields: [FieldDef { did: DefId(0:13 ~ thir_tree_match[fcf8]::Foo::FooOne::0), name: "0", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_match[fcf8]))), safety: Safe, value: None }], tainted: None, flags:  }, VariantDef { def_id: DefId(0:14 ~ thir_tree_match[fcf8]::Foo::FooTwo), ctor: Some((Const, DefId(0:15 ~ thir_tree_match[fcf8]::Foo::FooTwo::{constructor#0}))), name: "FooTwo", discr: Relative(1), fields: [], tainted: None, flags:  }]
161                                                                                                 flags: IS_ENUM
162                                                                                                 repr: ReprOptions { int: None, align: None, pack: None, flags: , scalable: None, field_shuffle_seed: 13397682652773712997 }
163                                                                                             }

210                                                                                         adt_def: 
211                                                                                             AdtDef {
212                                                                                                 did: DefId(0:10 ~ thir_tree_match[fcf8]::Foo)
-                                                                                                 variants: [VariantDef { def_id: DefId(0:11 ~ thir_tree_match[fcf8]::Foo::FooOne), ctor: Some((Fn, DefId(0:12 ~ thir_tree_match[fcf8]::Foo::FooOne::{constructor#0}))), name: "FooOne", discr: Relative(0), fields: [FieldDef { did: DefId(0:13 ~ thir_tree_match[fcf8]::Foo::FooOne::0), name: "0", vis: Restricted(DefId(0:0 ~ thir_tree_match[fcf8])), safety: Safe, value: None }], tainted: None, flags:  }, VariantDef { def_id: DefId(0:14 ~ thir_tree_match[fcf8]::Foo::FooTwo), ctor: Some((Const, DefId(0:15 ~ thir_tree_match[fcf8]::Foo::FooTwo::{constructor#0}))), name: "FooTwo", discr: Relative(1), fields: [], tainted: None, flags:  }]
+                                                                                                 variants: [VariantDef { def_id: DefId(0:11 ~ thir_tree_match[fcf8]::Foo::FooOne), ctor: Some((Fn, DefId(0:12 ~ thir_tree_match[fcf8]::Foo::FooOne::{constructor#0}))), name: "FooOne", discr: Relative(0), fields: [FieldDef { did: DefId(0:13 ~ thir_tree_match[fcf8]::Foo::FooOne::0), name: "0", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_match[fcf8]))), safety: Safe, value: None }], tainted: None, flags:  }, VariantDef { def_id: DefId(0:14 ~ thir_tree_match[fcf8]::Foo::FooTwo), ctor: Some((Const, DefId(0:15 ~ thir_tree_match[fcf8]::Foo::FooTwo::{constructor#0}))), name: "FooTwo", discr: Relative(1), fields: [], tainted: None, flags:  }]
214                                                                                                 flags: IS_ENUM
215                                                                                                 repr: ReprOptions { int: None, align: None, pack: None, flags: , scalable: None, field_shuffle_seed: 13397682652773712997 }
216                                                                                             }


The actual stdout differed from the expected stdout
To update references, rerun the tests and pass the `--bless` flag
To only update this specific test, also pass `--test-args thir-print/thir-tree-match.rs`

error: 1 errors occurred comparing output.
status: exit status: 0
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "/checkout/tests/ui/thir-print/thir-tree-match.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/x86_64-unknown-linux-gnu/stage1" "--target=x86_64-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/x86_64-unknown-linux-gnu/test/ui/thir-print/thir-tree-match" "-A" "unused" "-W" "unused_attributes" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Zunpretty=thir-tree"
--- stdout -------------------------------
DefId(0:16 ~ thir_tree_match[fcf8]::has_match):
params: [
    Param {
        ty: Foo
        ty_span: Some(/checkout/tests/ui/thir-print/thir-tree-match.rs:15:19: 15:22 (#0))
        self_kind: None
        hir_id: Some(HirId(DefId(0:16 ~ thir_tree_match[fcf8]::has_match).1))
        param: Some( 
            Pat {
                ty: Foo
                span: /checkout/tests/ui/thir-print/thir-tree-match.rs:15:14: 15:17 (#0)
                kind: PatKind {
                    Binding {
                        name: "foo"
                        mode: BindingMode(No, Not)
                        var: LocalVarId(HirId(DefId(0:16 ~ thir_tree_match[fcf8]::has_match).2))
                        ty: Foo
                        is_primary: true
                        is_shorthand: false
                        subpattern: None
                    }
                }
---
        span: /checkout/tests/ui/thir-print/thir-tree-match.rs:15:32: 21:2 (#0)
        kind: 
            Scope {
                region_scope: Node(28)
                hir_id: HirId(DefId(0:16 ~ thir_tree_match[fcf8]::has_match).28)
                value:
                    Expr {
                        ty: bool
                        temp_scope_id: 28
                        span: /checkout/tests/ui/thir-print/thir-tree-match.rs:15:32: 21:2 (#0)
                        kind: 
                            Block {
                                targeted_by_break: false
                                span: /checkout/tests/ui/thir-print/thir-tree-match.rs:15:32: 21:2 (#0)
                                region_scope: Node(3)
                                safety_mode: Safe
                                stmts: []
                                expr:
                                    Expr {
                                        ty: bool
                                        temp_scope_id: 4
                                        span: /checkout/tests/ui/thir-print/thir-tree-match.rs:16:5: 20:6 (#0)
                                        kind: 
                                            Scope {
                                                region_scope: Node(4)
                                                hir_id: HirId(DefId(0:16 ~ thir_tree_match[fcf8]::has_match).4)
                                                value:
                                                    Expr {
                                                        ty: bool
                                                        temp_scope_id: 4
                                                        span: /checkout/tests/ui/thir-print/thir-tree-match.rs:16:5: 20:6 (#0)
---
                                                                        span: /checkout/tests/ui/thir-print/thir-tree-match.rs:16:11: 16:14 (#0)
                                                                        kind: 
                                                                            Scope {
                                                                                region_scope: Node(5)
                                                                                hir_id: HirId(DefId(0:16 ~ thir_tree_match[fcf8]::has_match).5)
                                                                                value:
                                                                                    Expr {
                                                                                        ty: Foo
                                                                                        temp_scope_id: 5
                                                                                        span: /checkout/tests/ui/thir-print/thir-tree-match.rs:16:11: 16:14 (#0)
                                                                                        kind: 
                                                                                            VarRef {
                                                                                                id: LocalVarId(HirId(DefId(0:16 ~ thir_tree_match[fcf8]::has_match).2))
                                                                                            }
                                                                                    }
                                                                            }
                                                                    }
                                                                arms: [
                                                                    Arm {
                                                                        pattern: 
                                                                            Pat {
                                                                                ty: Foo
                                                                                span: /checkout/tests/ui/thir-print/thir-tree-match.rs:17:9: 17:32 (#0)
                                                                                kind: PatKind {
                                                                                    Variant {
                                                                                        adt_def: 
                                                                                            AdtDef {
                                                                                                did: DefId(0:10 ~ thir_tree_match[fcf8]::Foo)
                                                                                                variants: [VariantDef { def_id: DefId(0:11 ~ thir_tree_match[fcf8]::Foo::FooOne), ctor: Some((Fn, DefId(0:12 ~ thir_tree_match[fcf8]::Foo::FooOne::{constructor#0}))), name: "FooOne", discr: Relative(0), fields: [FieldDef { did: DefId(0:13 ~ thir_tree_match[fcf8]::Foo::FooOne::0), name: "0", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_match[fcf8]))), safety: Safe, value: None }], tainted: None, flags:  }, VariantDef { def_id: DefId(0:14 ~ thir_tree_match[fcf8]::Foo::FooTwo), ctor: Some((Const, DefId(0:15 ~ thir_tree_match[fcf8]::Foo::FooTwo::{constructor#0}))), name: "FooTwo", discr: Relative(1), fields: [], tainted: None, flags:  }]
                                                                                                flags: IS_ENUM
                                                                                                repr: ReprOptions { int: None, align: None, pack: None, flags: , scalable: None, field_shuffle_seed: 13397682652773712997 }
                                                                                            }
                                                                                        args: []
                                                                                        variant_index: 0
                                                                                        subpatterns: [
                                                                                            Pat {
                                                                                                ty: Bar
                                                                                                span: /checkout/tests/ui/thir-print/thir-tree-match.rs:17:21: 17:31 (#0)
                                                                                                kind: PatKind {
                                                                                                    Variant {
                                                                                                        adt_def: 
                                                                                                            AdtDef {
                                                                                                                did: DefId(0:3 ~ thir_tree_match[fcf8]::Bar)
                                                                                                                variants: [VariantDef { def_id: DefId(0:4 ~ thir_tree_match[fcf8]::Bar::First), ctor: Some((Const, DefId(0:5 ~ thir_tree_match[fcf8]::Bar::First::{constructor#0}))), name: "First", discr: Relative(0), fields: [], tainted: None, flags:  }, VariantDef { def_id: DefId(0:6 ~ thir_tree_match[fcf8]::Bar::Second), ctor: Some((Const, DefId(0:7 ~ thir_tree_match[fcf8]::Bar::Second::{constructor#0}))), name: "Second", discr: Relative(1), fields: [], tainted: None, flags:  }, VariantDef { def_id: DefId(0:8 ~ thir_tree_match[fcf8]::Bar::Third), ctor: Some((Const, DefId(0:9 ~ thir_tree_match[fcf8]::Bar::Third::{constructor#0}))), name: "Third", discr: Relative(2), fields: [], tainted: None, flags:  }]
                                                                                                                flags: IS_ENUM
                                                                                                                repr: ReprOptions { int: None, align: None, pack: None, flags: , scalable: None, field_shuffle_seed: 7908585036048874241 }
                                                                                                            }
                                                                                                        args: []
                                                                                                        variant_index: 0
                                                                                                        subpatterns: []
                                                                                                    }
---
                                                                                span: /checkout/tests/ui/thir-print/thir-tree-match.rs:17:36: 17:40 (#0)
                                                                                kind: 
                                                                                    Scope {
                                                                                        region_scope: Node(15)
                                                                                        hir_id: HirId(DefId(0:16 ~ thir_tree_match[fcf8]::has_match).15)
                                                                                        value:
                                                                                            Expr {
                                                                                                ty: bool
                                                                                                temp_scope_id: 15
                                                                                                span: /checkout/tests/ui/thir-print/thir-tree-match.rs:17:36: 17:40 (#0)
                                                                                                kind: 
                                                                                                    Literal( lit: Spanned { node: Bool(true), span: /checkout/tests/ui/thir-print/thir-tree-match.rs:17:36: 17:40 (#0) }, neg: false)

                                                                                            }
                                                                                    }
                                                                            }
                                                                        hir_id: HirId(DefId(0:16 ~ thir_tree_match[fcf8]::has_match).14)
                                                                        scope: Node(14)
                                                                        span: /checkout/tests/ui/thir-print/thir-tree-match.rs:17:9: 17:40 (#0)
                                                                    }
                                                                    Arm {
                                                                        pattern: 
                                                                            Pat {
                                                                                ty: Foo
                                                                                span: /checkout/tests/ui/thir-print/thir-tree-match.rs:18:9: 18:23 (#0)
                                                                                kind: PatKind {
                                                                                    Variant {
                                                                                        adt_def: 
                                                                                            AdtDef {
                                                                                                did: DefId(0:10 ~ thir_tree_match[fcf8]::Foo)
                                                                                                variants: [VariantDef { def_id: DefId(0:11 ~ thir_tree_match[fcf8]::Foo::FooOne), ctor: Some((Fn, DefId(0:12 ~ thir_tree_match[fcf8]::Foo::FooOne::{constructor#0}))), name: "FooOne", discr: Relative(0), fields: [FieldDef { did: DefId(0:13 ~ thir_tree_match[fcf8]::Foo::FooOne::0), name: "0", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_match[fcf8]))), safety: Safe, value: None }], tainted: None, flags:  }, VariantDef { def_id: DefId(0:14 ~ thir_tree_match[fcf8]::Foo::FooTwo), ctor: Some((Const, DefId(0:15 ~ thir_tree_match[fcf8]::Foo::FooTwo::{constructor#0}))), name: "FooTwo", discr: Relative(1), fields: [], tainted: None, flags:  }]
                                                                                                flags: IS_ENUM
                                                                                                repr: ReprOptions { int: None, align: None, pack: None, flags: , scalable: None, field_shuffle_seed: 13397682652773712997 }
                                                                                            }
                                                                                        args: []
                                                                                        variant_index: 0
                                                                                        subpatterns: [
                                                                                            Pat {
---
                                                                                span: /checkout/tests/ui/thir-print/thir-tree-match.rs:18:27: 18:32 (#0)
                                                                                kind: 
                                                                                    Scope {
                                                                                        region_scope: Node(21)
                                                                                        hir_id: HirId(DefId(0:16 ~ thir_tree_match[fcf8]::has_match).21)
                                                                                        value:
                                                                                            Expr {
                                                                                                ty: bool
                                                                                                temp_scope_id: 21
                                                                                                span: /checkout/tests/ui/thir-print/thir-tree-match.rs:18:27: 18:32 (#0)
                                                                                                kind: 
                                                                                                    Literal( lit: Spanned { node: Bool(false), span: /checkout/tests/ui/thir-print/thir-tree-match.rs:18:27: 18:32 (#0) }, neg: false)

                                                                                            }
                                                                                    }
                                                                            }
                                                                        hir_id: HirId(DefId(0:16 ~ thir_tree_match[fcf8]::has_match).20)
                                                                        scope: Node(20)
                                                                        span: /checkout/tests/ui/thir-print/thir-tree-match.rs:18:9: 18:32 (#0)
                                                                    }
                                                                    Arm {
                                                                        pattern: 
                                                                            Pat {
                                                                                ty: Foo
                                                                                span: /checkout/tests/ui/thir-print/thir-tree-match.rs:19:9: 19:20 (#0)
                                                                                kind: PatKind {
                                                                                    Variant {
                                                                                        adt_def: 
                                                                                            AdtDef {
                                                                                                did: DefId(0:10 ~ thir_tree_match[fcf8]::Foo)
                                                                                                variants: [VariantDef { def_id: DefId(0:11 ~ thir_tree_match[fcf8]::Foo::FooOne), ctor: Some((Fn, DefId(0:12 ~ thir_tree_match[fcf8]::Foo::FooOne::{constructor#0}))), name: "FooOne", discr: Relative(0), fields: [FieldDef { did: DefId(0:13 ~ thir_tree_match[fcf8]::Foo::FooOne::0), name: "0", vis: Restricted(ModId(DefId(0:0 ~ thir_tree_match[fcf8]))), safety: Safe, value: None }], tainted: None, flags:  }, VariantDef { def_id: DefId(0:14 ~ thir_tree_match[fcf8]::Foo::FooTwo), ctor: Some((Const, DefId(0:15 ~ thir_tree_match[fcf8]::Foo::FooTwo::{constructor#0}))), name: "FooTwo", discr: Relative(1), fields: [], tainted: None, flags:  }]
                                                                                                flags: IS_ENUM
                                                                                                repr: ReprOptions { int: None, align: None, pack: None, flags: , scalable: None, field_shuffle_seed: 13397682652773712997 }
                                                                                            }
                                                                                        args: []
                                                                                        variant_index: 1
                                                                                        subpatterns: []
                                                                                    }
---
                                                                                span: /checkout/tests/ui/thir-print/thir-tree-match.rs:19:24: 19:28 (#0)
                                                                                kind: 
                                                                                    Scope {
                                                                                        region_scope: Node(27)
                                                                                        hir_id: HirId(DefId(0:16 ~ thir_tree_match[fcf8]::has_match).27)
                                                                                        value:
                                                                                            Expr {
                                                                                                ty: bool
                                                                                                temp_scope_id: 27
                                                                                                span: /checkout/tests/ui/thir-print/thir-tree-match.rs:19:24: 19:28 (#0)
                                                                                                kind: 
                                                                                                    Literal( lit: Spanned { node: Bool(true), span: /checkout/tests/ui/thir-print/thir-tree-match.rs:19:24: 19:28 (#0) }, neg: false)

                                                                                            }
                                                                                    }
                                                                            }
                                                                        hir_id: HirId(DefId(0:16 ~ thir_tree_match[fcf8]::has_match).26)
                                                                        scope: Node(26)
                                                                        span: /checkout/tests/ui/thir-print/thir-tree-match.rs:19:9: 19:28 (#0)
                                                                    }
                                                                ]
                                                                match_source: Normal
---
            }
    }


DefId(0:17 ~ thir_tree_match[fcf8]::main):
params: [
]
body:
    Expr {
        ty: ()
        temp_scope_id: 2
        span: /checkout/tests/ui/thir-print/thir-tree-match.rs:23:11: 23:13 (#0)
        kind: 
            Scope {
                region_scope: Node(2)
                hir_id: HirId(DefId(0:17 ~ thir_tree_match[fcf8]::main).2)
                value:
                    Expr {
                        ty: ()
                        temp_scope_id: 2
                        span: /checkout/tests/ui/thir-print/thir-tree-match.rs:23:11: 23:13 (#0)
                        kind: 
                            Block {
                                targeted_by_break: false
                                span: /checkout/tests/ui/thir-print/thir-tree-match.rs:23:11: 23:13 (#0)
                                region_scope: Node(1)
                                safety_mode: Safe
                                stmts: []
                                expr: []
                            }

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

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

Click to see the possible cause of the failure (guessed by this bot)
[RUSTC-TIMING] build_script_build test:false 0.139
[RUSTC-TIMING] build_script_build test:false 0.164
 Documenting core v0.0.0 (/checkout/library/core)

thread 'rustc' (60315) panicked at compiler/rustc_metadata/src/rmeta/decoder/cstore_impl.rs:230:1:
assertion failed: !def_id.is_local()
stack backtrace:
   0: __rustc::rust_begin_unwind
             at /rustc/08d5b675a9b2abdca5e2fe4eabe0e07bbda15d49/library/std/src/panicking.rs:679:5
   1: core::panicking::panic_fmt
             at /rustc/08d5b675a9b2abdca5e2fe4eabe0e07bbda15d49/library/core/src/panicking.rs:80:14
   2: core::panicking::panic
             at /rustc/08d5b675a9b2abdca5e2fe4eabe0e07bbda15d49/library/core/src/panicking.rs:150:5
   3: rustc_metadata::rmeta::decoder::cstore_impl::provide_extern::doc_link_resolutions
      [... omitted 2 frames ...]
   4: <rustdoc::passes::collect_intra_doc_links::LinkCollector>::resolve_path
   5: <rustdoc::passes::collect_intra_doc_links::LinkCollector>::resolve
   6: <rustdoc::passes::collect_intra_doc_links::LinkCollector>::resolve_links::{closure#1}
   7: <rustdoc::passes::collect_intra_doc_links::LinkCollector as rustdoc::visit::DocVisitor>::visit_item
   8: <rustdoc::passes::collect_intra_doc_links::LinkCollector as rustdoc::visit::DocVisitor>::visit_item
   9: <rustdoc::passes::collect_intra_doc_links::LinkCollector as rustdoc::visit::DocVisitor>::visit_item
  10: rustdoc::passes::collect_intra_doc_links::collect_intra_doc_links
  11: rustdoc::core::run_global_ctxt
  12: <rustc_session::session::Session>::time::<(rustdoc::clean::types::Crate, rustdoc::config::RenderOptions, rustdoc::formats::cache::Cache, std::collections::hash::map::HashMap<rustc_span::BytePos, alloc::vec::Vec<rustdoc::html::macro_expansion::ExpandedCode>, rustc_hash::FxBuildHasher>), rustdoc::main_args::{closure#2}::{closure#0}::{closure#0}>
  13: <std::thread::local::LocalKey<core::cell::Cell<*const ()>>>::with::<rustc_middle::ty::context::tls::enter_context<<rustc_middle::ty::context::GlobalCtxt>::enter<rustc_interface::passes::create_and_enter_global_ctxt<(), rustdoc::main_args::{closure#2}::{closure#0}>::{closure#2}, ()>::{closure#1}, ()>::{closure#0}, ()>
  14: rustc_interface::passes::create_and_enter_global_ctxt::<(), rustdoc::main_args::{closure#2}::{closure#0}>
  15: rustc_interface::interface::run_compiler::<(), rustdoc::main_args::{closure#2}>::{closure#1}
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

error: the compiler unexpectedly panicked. This is a bug

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-rustdoc&template=ice.md

note: please make sure that you have updated to the latest nightly

warning: the ICE couldn't be written to `/checkout/rustc-ice-2026-07-14T11_36_17-60311.txt`: Read-only file system (os error 30)

note: rustc 1.99.0-nightly (a12cac5b3 2026-07-14) running on aarch64-unknown-linux-gnu

note: compiler flags: --crate-type lib -Z annotate-moves -Z randomize-layout -Z unstable-options -Z crate-attr=doc(html_root_url="https://doc.rust-lang.org/nightly/") -Z crate-attr=warn(rust_2018_idioms) -Z unstable-options -Z force-unstable-if-unmarked

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
#0 [doc_link_resolutions] resolutions for documentation links for a module
end of query stack
error: could not document `core`
warning: build failed, waiting for other jobs to finish...
[RUSTC-TIMING] core test:false 27.564
Bootstrap failed while executing `--stage 2 test --skip tidy --skip src/tools/rust-analyzer --skip tests --skip library --skip tidyselftest`
Currently active steps:
test::Linkcheck { host: aarch64-unknown-linux-gnu } at src/bootstrap/src/core/build_steps/test.rs:139
doc::Std { build_compiler: Compiler { stage: 1, host: aarch64-unknown-linux-gnu, forced_compiler: false }, target: aarch64-unknown-linux-gnu, format: Html, crates: ["alloc", "compiler_builtins", "core", "panic_abort", "panic_unwind", "proc_macro", "rustc-std-workspace-core", "std", "std_detect", "sysroot", "test", "unwind"] } at src/bootstrap/src/core/build_steps/doc.rs:675
Command `/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/bin/cargo doc --target aarch64-unknown-linux-gnu -Zbinary-dep-depinfo -j 4 -Zroot-dir=/checkout -Zno-embed-metadata --locked --color=always --profile=dist -p alloc -p compiler_builtins -p core -p panic_abort -p panic_unwind -p proc_macro -p rustc-std-workspace-core -p std -p std_detect -p sysroot -p test -p unwind --features 'backtrace panic-unwind compiler-builtins-c' --manifest-path /checkout/library/sysroot/Cargo.toml --no-deps --target-dir /checkout/obj/build/aarch64-unknown-linux-gnu/stage1-std/aarch64-unknown-linux-gnu/doc -Zskip-rustdoc-fingerprint -Zrustdoc-map [workdir=/checkout]` failed with exit code 101
Created at: src/bootstrap/src/core/build_steps/doc.rs:809:21
Executed at: src/bootstrap/src/core/build_steps/doc.rs:842:22

--- BACKTRACE vvv
   0: <bootstrap::utils::exec::DeferredCommand>::finish_process
             at /checkout/src/bootstrap/src/utils/exec.rs:938:17
   1: <bootstrap::utils::exec::DeferredCommand>::wait_for_output::<&bootstrap::utils::exec::ExecutionContext>
             at /checkout/src/bootstrap/src/utils/exec.rs:830:21
   2: <bootstrap::utils::exec::ExecutionContext>::run
             at /checkout/src/bootstrap/src/utils/exec.rs:740:45
   3: <bootstrap::utils::exec::BootstrapCommand>::run::<&bootstrap::core::builder::Builder>
             at /checkout/src/bootstrap/src/utils/exec.rs:338:27
   4: bootstrap::core::build_steps::doc::doc_std
             at /checkout/src/bootstrap/src/core/build_steps/doc.rs:842:22
   5: <bootstrap::core::build_steps::doc::Std as bootstrap::core::builder::Step>::run
             at /checkout/src/bootstrap/src/core/build_steps/doc.rs:733:9
   6: <bootstrap::core::builder::Builder>::ensure::<bootstrap::core::build_steps::doc::Std>
             at /checkout/src/bootstrap/src/core/builder/mod.rs:1650:36
   7: <bootstrap::core::build_steps::doc::Std as bootstrap::core::builder::Step>::make_run
             at /checkout/src/bootstrap/src/core/build_steps/doc.rs:675:21
   8: <bootstrap::core::builder::StepDescription>::maybe_run
             at /checkout/src/bootstrap/src/core/builder/mod.rs:480:13
   9: bootstrap::core::builder::cli_paths::match_paths_to_steps_and_run
             at /checkout/src/bootstrap/src/core/builder/cli_paths.rs:142:22
  10: <bootstrap::core::builder::Builder>::run_step_descriptions
             at /checkout/src/bootstrap/src/core/builder/mod.rs:1177:9
---
  13: <bootstrap::core::builder::Builder>::ensure::<bootstrap::core::build_steps::test::Linkcheck>
             at /checkout/src/bootstrap/src/core/builder/mod.rs:1650:36
  14: <bootstrap::core::build_steps::test::Linkcheck as bootstrap::core::builder::Step>::make_run
             at /checkout/src/bootstrap/src/core/build_steps/test.rs:139:21
  15: <bootstrap::core::builder::StepDescription>::maybe_run
             at /checkout/src/bootstrap/src/core/builder/mod.rs:480:13
  16: bootstrap::core::builder::cli_paths::match_paths_to_steps_and_run
             at /checkout/src/bootstrap/src/core/builder/cli_paths.rs:142:22
  17: <bootstrap::core::builder::Builder>::run_step_descriptions
             at /checkout/src/bootstrap/src/core/builder/mod.rs:1177:9
  18: <bootstrap::core::builder::Builder>::execute_cli
             at /checkout/src/bootstrap/src/core/builder/mod.rs:1156:14
  19: <bootstrap::Build>::build
             at /checkout/src/bootstrap/src/lib.rs:802:25
  20: bootstrap::main
             at /checkout/src/bootstrap/src/bin/main.rs:149:11
  21: <fn() as core::ops::function::FnOnce<()>>::call_once
             at /rustc/08d5b675a9b2abdca5e2fe4eabe0e07bbda15d49/library/core/src/ops/function.rs:250:5
  22: std::sys::backtrace::__rust_begin_short_backtrace::<fn(), ()>
             at /rustc/08d5b675a9b2abdca5e2fe4eabe0e07bbda15d49/library/std/src/sys/backtrace.rs:166:18
  23: std::rt::lang_start::<()>::{closure#0}
             at /rustc/08d5b675a9b2abdca5e2fe4eabe0e07bbda15d49/library/std/src/rt.rs:206:18
  24: <&dyn core::ops::function::Fn<(), Output = i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe as core::ops::function::FnOnce<()>>::call_once
             at /rustc/08d5b675a9b2abdca5e2fe4eabe0e07bbda15d49/library/core/src/ops/function.rs:287:21
  25: std::panicking::catch_unwind::do_call::<&dyn core::ops::function::Fn<(), Output = i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe, i32>
             at /rustc/08d5b675a9b2abdca5e2fe4eabe0e07bbda15d49/library/std/src/panicking.rs:576:43
  26: std::panicking::catch_unwind::<i32, &dyn core::ops::function::Fn<(), Output = i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe>
             at /rustc/08d5b675a9b2abdca5e2fe4eabe0e07bbda15d49/library/std/src/panicking.rs:544:19
  27: std::panic::catch_unwind::<&dyn core::ops::function::Fn<(), Output = i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe, i32>
             at /rustc/08d5b675a9b2abdca5e2fe4eabe0e07bbda15d49/library/std/src/panic.rs:359:14
  28: std::rt::lang_start_internal::{closure#0}
             at /rustc/08d5b675a9b2abdca5e2fe4eabe0e07bbda15d49/library/std/src/rt.rs:175:24
  29: std::panicking::catch_unwind::do_call::<std::rt::lang_start_internal::{closure#0}, isize>
             at /rustc/08d5b675a9b2abdca5e2fe4eabe0e07bbda15d49/library/std/src/panicking.rs:576:43
---
  36: __libc_start_main
  37: _start


Command has failed. Rerun with -v to see more details.
Build completed unsuccessfully in 0:34:22
  local time: Tue Jul 14 11:36:30 UTC 2026
  network time: Tue, 14 Jul 2026 11:36:30 GMT
##[error]Process completed with exit code 1.
##[group]Run echo "disk usage:"

@rust-bors rust-bors Bot 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-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jul 14, 2026
@rust-bors

rust-bors Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

PR #159197, which is a member of this rollup, was unapproved.

This rollup was thus unapproved.

@rustbot rustbot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Jul 14, 2026
@JonathanBrouwer

Copy link
Copy Markdown
Contributor Author

@bors try cancel

@rust-bors

rust-bors Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Try build cancelled. Cancelled workflows:

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

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-rustdoc-json Area: Rustdoc JSON backend A-testsuite Area: The testsuite used to check the correctness of rustc A-tidy Area: The tidy tool rollup A PR which is a rollup T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)

Projects

None yet

Development

Successfully merging this pull request may close these issues.