File tree Expand file tree Collapse file tree 2 files changed +59
-0
lines changed Expand file tree Collapse file tree 2 files changed +59
-0
lines changed Original file line number Diff line number Diff line change 1+ // compile-flags: -Z unpretty=thir-tree
2+ // check-pass
3+
4+ pub fn main ( ) { }
Original file line number Diff line number Diff line change 1+ DefId(0:3 ~ thir_tree[348d]::main):
2+ Thir {
3+ arms: [],
4+ exprs: [
5+ Expr {
6+ ty: (),
7+ temp_lifetime: Some(
8+ Node(2),
9+ ),
10+ span: $DIR/thir-tree.rs:4:15: 4:17 (#0),
11+ kind: Block {
12+ body: Block {
13+ targeted_by_break: false,
14+ region_scope: Node(1),
15+ opt_destruction_scope: None,
16+ span: $DIR/thir-tree.rs:4:15: 4:17 (#0),
17+ stmts: [],
18+ expr: None,
19+ safety_mode: Safe,
20+ },
21+ },
22+ },
23+ Expr {
24+ ty: (),
25+ temp_lifetime: Some(
26+ Node(2),
27+ ),
28+ span: $DIR/thir-tree.rs:4:15: 4:17 (#0),
29+ kind: Scope {
30+ region_scope: Node(2),
31+ lint_level: Explicit(
32+ HirId {
33+ owner: DefId(0:3 ~ thir_tree[348d]::main),
34+ local_id: 2,
35+ },
36+ ),
37+ value: e0,
38+ },
39+ },
40+ Expr {
41+ ty: (),
42+ temp_lifetime: Some(
43+ Node(2),
44+ ),
45+ span: $DIR/thir-tree.rs:4:15: 4:17 (#0),
46+ kind: Scope {
47+ region_scope: Destruction(2),
48+ lint_level: Inherited,
49+ value: e1,
50+ },
51+ },
52+ ],
53+ stmts: [],
54+ }
55+
You can’t perform that action at this time.
0 commit comments