fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
555 B28 linesraw
1// MIR for `main` after SimplifyCfg-elaborate-drops
2
3fn main() -> () {
4    let mut _0: ();
5    let _1: &[u8; 3];
6    scope 1 {
7        debug x => _1;
8        let _2: [u8; 2];
9        scope 2 {
10            debug y => _2;
11        }
12    }
13
14    bb0: {
15        StorageLive(_1);
16        _1 = const b"foo";
17        StorageLive(_2);
18        _2 = [const 5_u8, const 120_u8];
19        _0 = const ();
20        StorageDead(_2);
21        StorageDead(_1);
22        return;
23    }
24}
25
26alloc1 (size: 3, align: 1) {
27    66 6f 6f                                        │ foo
28}