]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/inline/inline_cycle_generic.main.Inline.diff
Auto merge of #95418 - cjgillot:more-disk, r=davidtwco
[rust.git] / src / test / mir-opt / inline / inline_cycle_generic.main.Inline.diff
1 - // MIR for `main` before Inline
2 + // MIR for `main` after Inline
3   
4   fn main() -> () {
5       let mut _0: ();                      // return place in scope 0 at $DIR/inline-cycle-generic.rs:8:11: 8:11
6       let _1: ();                          // in scope 0 at $DIR/inline-cycle-generic.rs:9:5: 9:24
7   
8       bb0: {
9           StorageLive(_1);                 // scope 0 at $DIR/inline-cycle-generic.rs:9:5: 9:24
10           _1 = <C as Call>::call() -> bb1; // scope 0 at $DIR/inline-cycle-generic.rs:9:5: 9:24
11                                            // mir::Constant
12                                            // + span: $DIR/inline-cycle-generic.rs:9:5: 9:22
13                                            // + literal: Const { ty: fn() {<C as Call>::call}, val: Value(Scalar(<ZST>)) }
14       }
15   
16       bb1: {
17           StorageDead(_1);                 // scope 0 at $DIR/inline-cycle-generic.rs:9:24: 9:25
18           _0 = const ();                   // scope 0 at $DIR/inline-cycle-generic.rs:8:11: 10:2
19           return;                          // scope 0 at $DIR/inline-cycle-generic.rs:10:2: 10:2
20       }
21   }
22