about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-08-26 10:00:27 +0000
committerbors <bors@rust-lang.org>2022-08-26 10:00:27 +0000
commit8a13871b69924b74cfa1d737f2894068b37ea7ea (patch)
tree005775f17a3b5454f4686d5a6fd87a9d3fbc414b /src
parent983f4daddf238d114c4adc4751c5528fc6695a5a (diff)
parent5a41eb81cabaa074072eb5f76a3ba771c7e68899 (diff)
downloadrust-8a13871b69924b74cfa1d737f2894068b37ea7ea.tar.gz
rust-8a13871b69924b74cfa1d737f2894068b37ea7ea.zip
Auto merge of #100944 - nnethercote:shrink-thir-Expr, r=cjgillot
Shrink `thir::Expr`

r? `@cjgillot`
Diffstat (limited to 'src')
-rw-r--r--src/test/ui/thir-tree.stdout21
1 files changed, 12 insertions, 9 deletions
diff --git a/src/test/ui/thir-tree.stdout b/src/test/ui/thir-tree.stdout
index 3c84be8e8f8..960b7f7f4dd 100644
--- a/src/test/ui/thir-tree.stdout
+++ b/src/test/ui/thir-tree.stdout
@@ -1,6 +1,17 @@
 DefId(0:3 ~ thir_tree[8f1d]::main):
 Thir {
     arms: [],
+    blocks: [
+        Block {
+            targeted_by_break: false,
+            region_scope: Node(1),
+            opt_destruction_scope: None,
+            span: $DIR/thir-tree.rs:4:15: 4:17 (#0),
+            stmts: [],
+            expr: None,
+            safety_mode: Safe,
+        },
+    ],
     exprs: [
         Expr {
             ty: (),
@@ -9,15 +20,7 @@ Thir {
             ),
             span: $DIR/thir-tree.rs:4:15: 4:17 (#0),
             kind: Block {
-                body: Block {
-                    targeted_by_break: false,
-                    region_scope: Node(1),
-                    opt_destruction_scope: None,
-                    span: $DIR/thir-tree.rs:4:15: 4:17 (#0),
-                    stmts: [],
-                    expr: None,
-                    safety_mode: Safe,
-                },
+                block: b0,
             },
         },
         Expr {