File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -749,7 +749,7 @@ fn empty_definite_guidance() {
749
749
} yields[ SolverChoice :: slg_default( ) ] {
750
750
expect![ [ "Unique" ] ]
751
751
} yields[ SolverChoice :: recursive_default( ) ] {
752
- expect![ [ "Ambiguous; suggested substitution []" ] ]
752
+ expect![ [ r#"Unique"# ] ]
753
753
}
754
754
}
755
755
}
@@ -812,8 +812,10 @@ fn env_bound_vars() {
812
812
WellFormed ( & ' a ( ) )
813
813
}
814
814
}
815
- } yields {
815
+ } yields[ SolverChoice :: slg_default ( ) ] {
816
816
expect![ [ "Ambiguous; definite substitution for<?U0> { [?0 := '^0.0] }" ] ]
817
+ } yields[ SolverChoice :: recursive_default( ) ] {
818
+ expect![ [ r#"Unique; for<?U0> { substitution [?0 := '^0.0] }"# ] ]
817
819
}
818
820
goal {
819
821
exists<' a> {
@@ -841,7 +843,7 @@ fn recursive_hang() {
841
843
} yields[ SolverChoice :: slg_default( ) ] {
842
844
expect![ [ "Ambiguous; definite substitution for<?U0,?U0> { [?0 := ^0.0, ?1 := '^0.1] }" ] ]
843
845
} yields[ SolverChoice :: recursive_default( ) ] {
844
- expect![ [ "Ambiguous; suggested substitution for<?U0,?U0> { [?0 := ^0.0, ?1 := '^0.1] }" ] ]
846
+ expect![ [ r# "Ambiguous; no inference guidance"# ] ]
845
847
}
846
848
}
847
849
}
Original file line number Diff line number Diff line change @@ -394,11 +394,11 @@ fn solve_aggregated(
394
394
. expect ( "Test requires at least one solver" ) ;
395
395
for ( i, other) in tail. iter ( ) . enumerate ( ) {
396
396
println ! (
397
- "\n comparing solvers:\n \t left : {:?}\n \t right : {:?}\n " ,
397
+ "\n comparing solvers:\n \t expected : {:?}\n \t actual : {:?}\n " ,
398
398
& choices[ 0 ] ,
399
399
& choices[ i + 1 ]
400
400
) ;
401
- assert_same ( head , other ) ;
401
+ assert_same ( other , head ) ;
402
402
}
403
403
404
404
expected. assert_eq ( head) ;
You can’t perform that action at this time.
0 commit comments