Update tests

This commit is contained in:
John Kåre Alsaker 2019-04-11 18:33:36 +02:00
parent 3b99a48c4d
commit b5d43fcdc9
3 changed files with 3 additions and 3 deletions

View file

@ -20,7 +20,7 @@ fn foo<T: Copy>(_t: T, q: &i32) -> i32 {
// ...
// bb0: {
// ...
// _3 = [closure@HirId { owner: DefIndex(0:4), local_id: 27 }];
// _3 = [closure@HirId { owner: DefIndex(0:4), local_id: 29 }];
// ...
// _4 = &_3;
// ...

View file

@ -16,7 +16,7 @@ fn foo<T: Copy>(_t: T, q: i32) -> i32 {
// ...
// bb0: {
// ...
// _3 = [closure@HirId { owner: DefIndex(0:4), local_id: 11 }];
// _3 = [closure@HirId { owner: DefIndex(0:4), local_id: 13 }];
// ...
// _4 = &_3;
// ...

View file

@ -98,7 +98,7 @@ fn main() {
// }
// END rustc.main.EraseRegions.after.mir
// START rustc.main-{{closure}}.EraseRegions.after.mir
// fn main::{{closure}}#0(_1: &[closure@HirId { owner: DefIndex(0:7), local_id: 70 }], _2: &i32) -> &i32 {
// fn main::{{closure}}#0(_1: &[closure@HirId { owner: DefIndex(0:7), local_id: 72 }], _2: &i32) -> &i32 {
// ...
// bb0: {
// Retag([fn entry] _1);