summaryrefslogtreecommitdiffstats
path: root/tests/ui/thir-print/thir-flat.stdout
blob: b0aa44b56aa95906d3f6aa918440650a5a3c0f70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
DefId(0:3 ~ thir_flat[7b97]::main):
Thir {
    body_type: Fn(
        fn(),
    ),
    arms: [],
    blocks: [
        Block {
            targeted_by_break: false,
            region_scope: Node(1),
            opt_destruction_scope: None,
            span: $DIR/thir-flat.rs:4:15: 4:17 (#0),
            stmts: [],
            expr: None,
            safety_mode: Safe,
        },
    ],
    exprs: [
        Expr {
            kind: Block {
                block: b0,
            },
            ty: (),
            temp_lifetime: Some(
                Node(2),
            ),
            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_flat[7b97]::main).2),
                ),
                value: e0,
            },
            ty: (),
            temp_lifetime: Some(
                Node(2),
            ),
            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: [],
    params: [],
}