fork/rust

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

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

master
495 B25 linesraw
1- // MIR for `main` before Inline
2+ // MIR for `main` after Inline
3  
4  fn main() -> () {
5      let mut _0: ();
6      let _1: u32;
7      scope 1 {
8          debug x => _1;
9      }
10+     scope 2 (inlined <Vec<()> as Foo>::bar) {
11+     }
12  
13      bb0: {
14          StorageLive(_1);
15-         _1 = <Vec<()> as Foo>::bar() -> [return: bb1, unwind unreachable];
16-     }
17- 
18-     bb1: {
19+         _1 = const 123_u32;
20          _0 = const ();
21          StorageDead(_1);
22          return;
23      }
24  }
25