summaryrefslogtreecommitdiffstats
path: root/tests/ui/thir-print/thir-flat.stdout
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/thir-print/thir-flat.stdout (renamed from tests/ui/thir-tree.stdout)31
1 files changed, 17 insertions, 14 deletions
diff --git a/tests/ui/thir-tree.stdout b/tests/ui/thir-print/thir-flat.stdout
index 4b6915f77..910c0da27 100644
--- a/tests/ui/thir-tree.stdout
+++ b/tests/ui/thir-print/thir-flat.stdout
@@ -1,12 +1,15 @@
-DefId(0:3 ~ thir_tree[8f1d]::main):
+DefId(0:3 ~ thir_flat[45a6]::main):
Thir {
+ body_type: Fn(
+ ([]; c_variadic: false)->(),
+ ),
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),
+ span: $DIR/thir-flat.rs:4:15: 4:17 (#0),
stmts: [],
expr: None,
safety_mode: Safe,
@@ -14,40 +17,40 @@ Thir {
],
exprs: [
Expr {
- ty: (),
- temp_lifetime: Some(
- Node(2),
- ),
- span: $DIR/thir-tree.rs:4:15: 4:17 (#0),
kind: Block {
block: b0,
},
- },
- Expr {
ty: (),
temp_lifetime: Some(
Node(2),
),
- span: $DIR/thir-tree.rs:4:15: 4:17 (#0),
+ span: $DIR/thir-flat.rs:4:15: 4:17 (#0),
+ },
+ Expr {
kind: Scope {
region_scope: Node(2),
lint_level: Explicit(
- HirId(DefId(0:3 ~ thir_tree[8f1d]::main).2),
+ HirId(DefId(0:3 ~ thir_flat[45a6]::main).2),
),
value: e0,
},
- },
- Expr {
ty: (),
temp_lifetime: Some(
Node(2),
),
- span: $DIR/thir-tree.rs:4:15: 4:17 (#0),
+ span: $DIR/thir-flat.rs:4:15: 4:17 (#0),
+ },
+ Expr {
kind: Scope {
region_scope: Destruction(2),
lint_level: Inherited,
value: e1,
},
+ ty: (),
+ temp_lifetime: Some(
+ Node(2),
+ ),
+ span: $DIR/thir-flat.rs:4:15: 4:17 (#0),
},
],
stmts: [],