Skip to content

Commit b5d43fc

Browse files
committed
Update tests
1 parent 3b99a48 commit b5d43fc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/test/mir-opt/inline-closure-borrows-arg.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fn foo<T: Copy>(_t: T, q: &i32) -> i32 {
2020
// ...
2121
// bb0: {
2222
// ...
23-
// _3 = [closure@HirId { owner: DefIndex(0:4), local_id: 27 }];
23+
// _3 = [closure@HirId { owner: DefIndex(0:4), local_id: 29 }];
2424
// ...
2525
// _4 = &_3;
2626
// ...

src/test/mir-opt/inline-closure.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fn foo<T: Copy>(_t: T, q: i32) -> i32 {
1616
// ...
1717
// bb0: {
1818
// ...
19-
// _3 = [closure@HirId { owner: DefIndex(0:4), local_id: 11 }];
19+
// _3 = [closure@HirId { owner: DefIndex(0:4), local_id: 13 }];
2020
// ...
2121
// _4 = &_3;
2222
// ...

src/test/mir-opt/retag.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ fn main() {
9898
// }
9999
// END rustc.main.EraseRegions.after.mir
100100
// START rustc.main-{{closure}}.EraseRegions.after.mir
101-
// fn main::{{closure}}#0(_1: &[closure@HirId { owner: DefIndex(0:7), local_id: 70 }], _2: &i32) -> &i32 {
101+
// fn main::{{closure}}#0(_1: &[closure@HirId { owner: DefIndex(0:7), local_id: 72 }], _2: &i32) -> &i32 {
102102
// ...
103103
// bb0: {
104104
// Retag([fn entry] _1);

0 commit comments

Comments
 (0)