Update mir-opt expected output for matches! macro
This commit is contained in:
parent
0e30629600
commit
25ed28823a
8 changed files with 26 additions and 10 deletions
|
|
@ -8,12 +8,14 @@ fn num_to_digit(_1: char) -> u32 {
|
|||
let _2: std::option::Option<u32>;
|
||||
scope 2 (inlined Option::<u32>::is_some) {
|
||||
let mut _3: isize;
|
||||
scope 3 {
|
||||
}
|
||||
}
|
||||
}
|
||||
scope 3 (inlined #[track_caller] Option::<u32>::unwrap) {
|
||||
scope 4 (inlined #[track_caller] Option::<u32>::unwrap) {
|
||||
let mut _5: isize;
|
||||
let mut _6: !;
|
||||
scope 4 {
|
||||
scope 5 {
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -8,12 +8,14 @@ fn num_to_digit(_1: char) -> u32 {
|
|||
let _2: std::option::Option<u32>;
|
||||
scope 2 (inlined Option::<u32>::is_some) {
|
||||
let mut _3: isize;
|
||||
scope 3 {
|
||||
}
|
||||
}
|
||||
}
|
||||
scope 3 (inlined #[track_caller] Option::<u32>::unwrap) {
|
||||
scope 4 (inlined #[track_caller] Option::<u32>::unwrap) {
|
||||
let mut _5: isize;
|
||||
let mut _6: !;
|
||||
scope 4 {
|
||||
scope 5 {
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -8,12 +8,14 @@ fn num_to_digit(_1: char) -> u32 {
|
|||
let _2: std::option::Option<u32>;
|
||||
scope 2 (inlined Option::<u32>::is_some) {
|
||||
let mut _3: isize;
|
||||
scope 3 {
|
||||
}
|
||||
}
|
||||
}
|
||||
scope 3 (inlined #[track_caller] Option::<u32>::unwrap) {
|
||||
scope 4 (inlined #[track_caller] Option::<u32>::unwrap) {
|
||||
let mut _5: isize;
|
||||
let mut _6: !;
|
||||
scope 4 {
|
||||
scope 5 {
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -8,12 +8,14 @@ fn num_to_digit(_1: char) -> u32 {
|
|||
let _2: std::option::Option<u32>;
|
||||
scope 2 (inlined Option::<u32>::is_some) {
|
||||
let mut _3: isize;
|
||||
scope 3 {
|
||||
}
|
||||
}
|
||||
}
|
||||
scope 3 (inlined #[track_caller] Option::<u32>::unwrap) {
|
||||
scope 4 (inlined #[track_caller] Option::<u32>::unwrap) {
|
||||
let mut _5: isize;
|
||||
let mut _6: !;
|
||||
scope 4 {
|
||||
scope 5 {
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -7,6 +7,8 @@
|
|||
let mut _2: bool;
|
||||
let mut _3: isize;
|
||||
+ let mut _4: isize;
|
||||
scope 1 {
|
||||
}
|
||||
|
||||
bb0: {
|
||||
StorageLive(_2);
|
||||
|
|
|
|||
|
|
@ -25,9 +25,11 @@ fn step_forward(_1: u16, _2: usize) -> u16 {
|
|||
}
|
||||
scope 8 (inlined Option::<u16>::is_none) {
|
||||
scope 9 (inlined Option::<u16>::is_some) {
|
||||
scope 10 {
|
||||
}
|
||||
}
|
||||
}
|
||||
scope 10 (inlined core::num::<impl u16>::wrapping_add) {
|
||||
scope 11 (inlined core::num::<impl u16>::wrapping_add) {
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -25,9 +25,11 @@ fn step_forward(_1: u16, _2: usize) -> u16 {
|
|||
}
|
||||
scope 8 (inlined Option::<u16>::is_none) {
|
||||
scope 9 (inlined Option::<u16>::is_some) {
|
||||
scope 10 {
|
||||
}
|
||||
}
|
||||
}
|
||||
scope 10 (inlined core::num::<impl u16>::wrapping_add) {
|
||||
scope 11 (inlined core::num::<impl u16>::wrapping_add) {
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@ fn issue_77355_opt(_1: Foo) -> u64 {
|
|||
debug num => _1;
|
||||
let mut _0: u64;
|
||||
let mut _2: isize;
|
||||
scope 1 {
|
||||
}
|
||||
|
||||
bb0: {
|
||||
_2 = discriminant(_1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue