fork/rust

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

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

master
685 B33 linesraw
1// MIR for `hey` after built
2
3fn hey(_1: &[T]) -> () {
4    debug it => _1;
5    let mut _0: ();
6    let mut _2: &<[T] as std::ops::Index<usize>>::Output;
7    let _3: &<[T] as std::ops::Index<usize>>::Output;
8    let mut _4: &[T];
9    scope 1 {
10    }
11
12    bb0: {
13        StorageLive(_2);
14        StorageLive(_3);
15        StorageLive(_4);
16        _4 = &(*_1);
17        _3 = <[T] as Index<usize>>::index(move _4, const 0_usize) -> [return: bb1, unwind: bb2];
18    }
19
20    bb1: {
21        StorageDead(_4);
22        _2 = &(*_3);
23        PlaceMention(_2);
24        StorageDead(_2);
25        _0 = const ();
26        StorageDead(_3);
27        return;
28    }
29
30    bb2 (cleanup): {
31        resume;
32    }
33}