diff options
| author | Dan Aloni <alonid@gmail.com> | 2021-01-28 18:01:36 +0200 |
|---|---|---|
| committer | Dan Aloni <alonid@gmail.com> | 2021-02-06 12:03:48 +0200 |
| commit | eaefe4a230d7c32d7c99da437ee8b87860f28704 (patch) | |
| tree | 72e1de33df6a231b3fe25c1aca7c137fa4a0d1fc /src/test/mir-opt/simplify_arm.id_try.SimplifyArmIdentity.diff | |
| parent | cfba499271ba53190a1d3647ff8f7202ec9ed6f5 (diff) | |
| download | rust-eaefe4a230d7c32d7c99da437ee8b87860f28704.tar.gz rust-eaefe4a230d7c32d7c99da437ee8b87860f28704.zip | |
path trimming: ignore type aliases
Diffstat (limited to 'src/test/mir-opt/simplify_arm.id_try.SimplifyArmIdentity.diff')
| -rw-r--r-- | src/test/mir-opt/simplify_arm.id_try.SimplifyArmIdentity.diff | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/mir-opt/simplify_arm.id_try.SimplifyArmIdentity.diff b/src/test/mir-opt/simplify_arm.id_try.SimplifyArmIdentity.diff index 84d8214122a..ccb3b71817f 100644 --- a/src/test/mir-opt/simplify_arm.id_try.SimplifyArmIdentity.diff +++ b/src/test/mir-opt/simplify_arm.id_try.SimplifyArmIdentity.diff @@ -1,7 +1,7 @@ - // MIR for `id_try` before SimplifyArmIdentity + // MIR for `id_try` after SimplifyArmIdentity - fn id_try(_1: std::result::Result<u8, i32>) -> std::result::Result<u8, i32> { + fn id_try(_1: Result<u8, i32>) -> Result<u8, i32> { debug r => _1; // in scope 0 at $DIR/simplify-arm.rs:23:11: 23:12 let mut _0: std::result::Result<u8, i32>; // return place in scope 0 at $DIR/simplify-arm.rs:23:34: 23:49 let _2: u8; // in scope 0 at $DIR/simplify-arm.rs:24:9: 24:10 @@ -26,7 +26,7 @@ - debug t => _9; // in scope 7 at $DIR/simplify-arm.rs:24:14: 24:15 + debug t => ((_0 as Err).0: i32); // in scope 7 at $DIR/simplify-arm.rs:24:14: 24:15 } - scope 8 (inlined <std::result::Result<u8, i32> as Try>::from_error) { // at $DIR/simplify-arm.rs:24:13: 24:15 + scope 8 (inlined <Result<u8, i32> as Try>::from_error) { // at $DIR/simplify-arm.rs:24:13: 24:15 - debug v => _8; // in scope 8 at $DIR/simplify-arm.rs:24:13: 24:15 + debug v => ((_0 as Err).0: i32); // in scope 8 at $DIR/simplify-arm.rs:24:13: 24:15 let mut _12: i32; // in scope 8 at $DIR/simplify-arm.rs:24:13: 24:15 @@ -39,7 +39,7 @@ scope 5 { } } - scope 6 (inlined <std::result::Result<u8, i32> as Try>::into_result) { // at $DIR/simplify-arm.rs:24:13: 24:15 + scope 6 (inlined <Result<u8, i32> as Try>::into_result) { // at $DIR/simplify-arm.rs:24:13: 24:15 debug self => _4; // in scope 6 at $DIR/simplify-arm.rs:24:13: 24:15 } |
