@@ -581,7 +581,7 @@ fn normalize_gat1() {
581
581
}
582
582
}
583
583
} yields {
584
- "Unique; substitution [?0 := Iter<'!2'0 , !1>], lifetime constraints []"
584
+ "Unique; substitution [?0 := Iter<'!2_0 , !1>], lifetime constraints []"
585
585
}
586
586
}
587
587
}
@@ -606,7 +606,7 @@ fn normalize_gat2() {
606
606
}
607
607
}
608
608
} yields {
609
- "Unique; substitution [?0 := Span<'!1'0 , !2>], lifetime constraints []"
609
+ "Unique; substitution [?0 := Span<'!1_0 , !2>], lifetime constraints []"
610
610
}
611
611
612
612
goal {
@@ -922,7 +922,7 @@ fn region_equality() {
922
922
} yields {
923
923
"Unique; substitution [],
924
924
lifetime constraints \
925
- [InEnvironment { environment: Env([]), goal: '!1'1 == '!1'0 }]
925
+ [InEnvironment { environment: Env([]), goal: '!1_1 == '!1_0 }]
926
926
"
927
927
}
928
928
@@ -933,7 +933,7 @@ fn region_equality() {
933
933
}
934
934
}
935
935
} yields {
936
- "Unique; substitution [?0 := '!1'0 ], lifetime constraints []"
936
+ "Unique; substitution [?0 := '!1_0 ], lifetime constraints []"
937
937
}
938
938
}
939
939
}
@@ -966,12 +966,12 @@ fn forall_equality() {
966
966
// this is because the region constraints are unsolvable.
967
967
//
968
968
// Note that `?0` (in universe 2) must be equal to both
969
- // `!1'0 ` and `!1'1 `, which of course it cannot be.
969
+ // `!1_0 ` and `!1_1 `, which of course it cannot be.
970
970
for <' a, ' b> Ref <' a, Ref <' b, Ref <' a, Unit >>>: Eq <
971
971
for <' c, ' d> Ref <' c, Ref <' d, Ref <' d, Unit >>>>
972
972
} yields {
973
973
"Unique; substitution [], lifetime constraints [
974
- InEnvironment { environment: Env([]), goal: '!1'1 == '!1'0 }
974
+ InEnvironment { environment: Env([]), goal: '!1_1 == '!1_0 }
975
975
]"
976
976
}
977
977
}
@@ -1185,7 +1185,7 @@ fn normalize_under_binder() {
1185
1185
}
1186
1186
}
1187
1187
} yields {
1188
- "Unique; substitution [?0 := Ref<'!1'0 , I32>], lifetime constraints []"
1188
+ "Unique; substitution [?0 := Ref<'!1_0 , I32>], lifetime constraints []"
1189
1189
}
1190
1190
1191
1191
goal {
@@ -1197,7 +1197,7 @@ fn normalize_under_binder() {
1197
1197
} yields {
1198
1198
"Unique; for<?U0> { \
1199
1199
substitution [?0 := Ref<'?0, I32>], \
1200
- lifetime constraints [InEnvironment { environment: Env([]), goal: '?0 == '!1'0 }] \
1200
+ lifetime constraints [InEnvironment { environment: Env([]), goal: '?0 == '!1_0 }] \
1201
1201
}"
1202
1202
}
1203
1203
}
@@ -1221,7 +1221,7 @@ fn unify_quantified_lifetimes() {
1221
1221
} yields {
1222
1222
"Unique; for<?U0> { \
1223
1223
substitution [?0 := '?0], \
1224
- lifetime constraints [InEnvironment { environment: Env([]), goal: '?0 == '!1'0 }] \
1224
+ lifetime constraints [InEnvironment { environment: Env([]), goal: '?0 == '!1_0 }] \
1225
1225
}"
1226
1226
}
1227
1227
@@ -1237,8 +1237,8 @@ fn unify_quantified_lifetimes() {
1237
1237
}
1238
1238
} yields {
1239
1239
"Unique; for<?U0> { \
1240
- substitution [?0 := '?0, ?1 := '!1'0 ], \
1241
- lifetime constraints [InEnvironment { environment: Env([]), goal: '?0 == '!1'0 }] \
1240
+ substitution [?0 := '?0, ?1 := '!1_0 ], \
1241
+ lifetime constraints [InEnvironment { environment: Env([]), goal: '?0 == '!1_0 }] \
1242
1242
}"
1243
1243
}
1244
1244
}
@@ -1263,7 +1263,7 @@ fn equality_binder() {
1263
1263
} yields {
1264
1264
"Unique; for<?U1> { \
1265
1265
substitution [?0 := '?0], \
1266
- lifetime constraints [InEnvironment { environment: Env([]), goal: '!2'0 == '?0 }] \
1266
+ lifetime constraints [InEnvironment { environment: Env([]), goal: '!2_0 == '?0 }] \
1267
1267
}"
1268
1268
}
1269
1269
}
@@ -2394,7 +2394,7 @@ fn quantified_types() {
2394
2394
} yields {
2395
2395
// Lifetime constraints are unsatisfiable
2396
2396
"Unique; substitution [], \
2397
- lifetime constraints [InEnvironment { environment: Env([]), goal: '!2'0 == '!1'0 }]"
2397
+ lifetime constraints [InEnvironment { environment: Env([]), goal: '!2_0 == '!1_0 }]"
2398
2398
}
2399
2399
}
2400
2400
}
0 commit comments