rust/tests/ui/thir-print/thir-tree.stdout
Matthew Jasper 43adf41ca6 Don't include destruction scopes in THIR
They are not used by anyone, and add memory/performance overhead.
2023-12-04 16:31:13 +00:00

32 lines
975 B
Plaintext

DefId(0:3 ~ thir_tree[7aaa]::main):
params: [
]
body:
Expr {
ty: ()
temp_lifetime: Some(Node(2))
span: $DIR/thir-tree.rs:4:15: 4:17 (#0)
kind:
Scope {
region_scope: Node(2)
lint_level: Explicit(HirId(DefId(0:3 ~ thir_tree[7aaa]::main).2))
value:
Expr {
ty: ()
temp_lifetime: Some(Node(2))
span: $DIR/thir-tree.rs:4:15: 4:17 (#0)
kind:
Block {
targeted_by_break: false
span: $DIR/thir-tree.rs:4:15: 4:17 (#0)
region_scope: Node(1)
safety_mode: Safe
stmts: []
expr: []
}
}
}
}