|
1 | 1 | - // MIR for `float_to_exponential_common` before ConstProp
|
2 | 2 | + // MIR for `float_to_exponential_common` after ConstProp
|
3 | 3 |
|
4 |
| - fn float_to_exponential_common(_1: &mut Formatter, _2: &T, _3: bool) -> Result<(), std::fmt::Error> { |
| 4 | + fn float_to_exponential_common(_1: &mut Formatter<'_>, _2: &T, _3: bool) -> Result<(), std::fmt::Error> { |
5 | 5 | debug fmt => _1; // in scope 0 at $DIR/funky_arms.rs:+0:35: +0:38
|
6 | 6 | debug num => _2; // in scope 0 at $DIR/funky_arms.rs:+0:60: +0:63
|
7 | 7 | debug upper => _3; // in scope 0 at $DIR/funky_arms.rs:+0:69: +0:74
|
8 | 8 | let mut _0: std::result::Result<(), std::fmt::Error>; // return place in scope 0 at $DIR/funky_arms.rs:+0:85: +0:91
|
9 | 9 | let _4: bool; // in scope 0 at $DIR/funky_arms.rs:+4:9: +4:19
|
10 |
| - let mut _5: &std::fmt::Formatter; // in scope 0 at $DIR/funky_arms.rs:+4:22: +4:37 |
| 10 | + let mut _5: &std::fmt::Formatter<'_>; // in scope 0 at $DIR/funky_arms.rs:+4:22: +4:37 |
11 | 11 | let mut _7: std::option::Option<usize>; // in scope 0 at $DIR/funky_arms.rs:+13:30: +13:45
|
12 |
| - let mut _8: &std::fmt::Formatter; // in scope 0 at $DIR/funky_arms.rs:+13:30: +13:45 |
| 12 | + let mut _8: &std::fmt::Formatter<'_>; // in scope 0 at $DIR/funky_arms.rs:+13:30: +13:45 |
13 | 13 | let mut _9: isize; // in scope 0 at $DIR/funky_arms.rs:+13:12: +13:27
|
14 |
| - let mut _11: &mut std::fmt::Formatter; // in scope 0 at $DIR/funky_arms.rs:+15:43: +15:46 |
| 14 | + let mut _11: &mut std::fmt::Formatter<'_>; // in scope 0 at $DIR/funky_arms.rs:+15:43: +15:46 |
15 | 15 | let mut _12: &T; // in scope 0 at $DIR/funky_arms.rs:+15:48: +15:51
|
16 | 16 | let mut _13: core::num::flt2dec::Sign; // in scope 0 at $DIR/funky_arms.rs:+15:53: +15:57
|
17 | 17 | let mut _14: u32; // in scope 0 at $DIR/funky_arms.rs:+15:59: +15:79
|
18 | 18 | let mut _15: u32; // in scope 0 at $DIR/funky_arms.rs:+15:59: +15:75
|
19 | 19 | let mut _16: usize; // in scope 0 at $DIR/funky_arms.rs:+15:59: +15:68
|
20 | 20 | let mut _17: bool; // in scope 0 at $DIR/funky_arms.rs:+15:81: +15:86
|
21 |
| - let mut _18: &mut std::fmt::Formatter; // in scope 0 at $DIR/funky_arms.rs:+17:46: +17:49 |
| 21 | + let mut _18: &mut std::fmt::Formatter<'_>; // in scope 0 at $DIR/funky_arms.rs:+17:46: +17:49 |
22 | 22 | let mut _19: &T; // in scope 0 at $DIR/funky_arms.rs:+17:51: +17:54
|
23 | 23 | let mut _20: core::num::flt2dec::Sign; // in scope 0 at $DIR/funky_arms.rs:+17:56: +17:60
|
24 | 24 | let mut _21: bool; // in scope 0 at $DIR/funky_arms.rs:+17:62: +17:67
|
|
38 | 38 | StorageLive(_4); // scope 0 at $DIR/funky_arms.rs:+4:9: +4:19
|
39 | 39 | StorageLive(_5); // scope 0 at $DIR/funky_arms.rs:+4:22: +4:37
|
40 | 40 | _5 = &(*_1); // scope 0 at $DIR/funky_arms.rs:+4:22: +4:37
|
41 |
| - _4 = Formatter::sign_plus(move _5) -> bb1; // scope 0 at $DIR/funky_arms.rs:+4:22: +4:37 |
| 41 | + _4 = Formatter::<'_>::sign_plus(move _5) -> bb1; // scope 0 at $DIR/funky_arms.rs:+4:22: +4:37 |
42 | 42 | // mir::Constant
|
43 | 43 | // + span: $DIR/funky_arms.rs:15:26: 15:35
|
44 |
| - // + literal: Const { ty: for<'r> fn(&'r Formatter) -> bool {Formatter::sign_plus}, val: Value(<ZST>) } |
| 44 | + // + literal: Const { ty: for<'r> fn(&'r Formatter<'_>) -> bool {Formatter::<'_>::sign_plus}, val: Value(<ZST>) } |
45 | 45 | }
|
46 | 46 |
|
47 | 47 | bb1: {
|
|
66 | 66 | StorageLive(_7); // scope 3 at $DIR/funky_arms.rs:+13:30: +13:45
|
67 | 67 | StorageLive(_8); // scope 3 at $DIR/funky_arms.rs:+13:30: +13:45
|
68 | 68 | _8 = &(*_1); // scope 3 at $DIR/funky_arms.rs:+13:30: +13:45
|
69 |
| - _7 = Formatter::precision(move _8) -> bb5; // scope 3 at $DIR/funky_arms.rs:+13:30: +13:45 |
| 69 | + _7 = Formatter::<'_>::precision(move _8) -> bb5; // scope 3 at $DIR/funky_arms.rs:+13:30: +13:45 |
70 | 70 | // mir::Constant
|
71 | 71 | // + span: $DIR/funky_arms.rs:24:34: 24:43
|
72 |
| - // + literal: Const { ty: for<'r> fn(&'r Formatter) -> Option<usize> {Formatter::precision}, val: Value(<ZST>) } |
| 72 | + // + literal: Const { ty: for<'r> fn(&'r Formatter<'_>) -> Option<usize> {Formatter::<'_>::precision}, val: Value(<ZST>) } |
73 | 73 | }
|
74 | 74 |
|
75 | 75 | bb5: {
|
|
0 commit comments