Skip to content

Commit dfb510a

Browse files
committed
Use recursive_default (rebase)
1 parent b5cd4d3 commit dfb510a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test/subtype.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ fn fn_lifetime_variance_args() {
7979

8080
goal {
8181
for<'a, 'b> fn(&'a u32, &'b u32) = for<'a> fn(&'a u32, &'a u32)
82-
} yields[SolverChoice::recursive()] {
82+
} yields[SolverChoice::recursive_default()] {
8383
"Unique; for<?U1,?U2,?U2> { substitution [], lifetime constraints [\
8484
InEnvironment { environment: Env([]), goal: '!1_0: '^0.0 }, \
8585
InEnvironment { environment: Env([]), goal: '!1_1: '^0.0 }, \
@@ -306,7 +306,7 @@ fn multi_lifetime_invariant_struct() {
306306
Subtype(Foo<&'b u32>, Foo<U>)
307307
}
308308
}
309-
} yields[SolverChoice::recursive()] {
309+
} yields[SolverChoice::recursive_default()] {
310310
// Because A is invariant, we require the lifetimes to be equal
311311
"Unique; substitution [?0 := (&'!1_0 Uint(U32))], lifetime constraints [\
312312
InEnvironment { environment: Env([]), goal: '!1_0: '!1_1 }, \
@@ -327,7 +327,7 @@ fn multi_lifetime_invariant_struct() {
327327
Subtype(Foo<U>, Foo<&'b u32>)
328328
}
329329
}
330-
} yields[SolverChoice::recursive()] {
330+
} yields[SolverChoice::recursive_default()] {
331331
// Because A is invariant, we require the lifetimes to be equal
332332
"Unique; substitution [?0 := (&'!1_0 Uint(U32))], lifetime constraints [\
333333
InEnvironment { environment: Env([]), goal: '!1_0: '!1_1 }, \
@@ -524,7 +524,7 @@ fn generalize_invariant_struct() {
524524
Subtype(Foo<&'b u32>, U)
525525
}
526526
}
527-
} yields[SolverChoice::recursive()] {
527+
} yields[SolverChoice::recursive_default()] {
528528
// Because A is invariant, we require the lifetimes to be equal
529529
"Unique; substitution [?0 := Foo<(&'!1_0 Uint(U32))>], lifetime constraints [ \
530530
InEnvironment { environment: Env([]), goal: '!1_0: '!1_1 }, \

0 commit comments

Comments
 (0)