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() {
749749 } yields[ SolverChoice :: slg_default( ) ] {
750750 expect![ [ "Unique" ] ]
751751 } yields[ SolverChoice :: recursive_default( ) ] {
752- expect![ [ "Ambiguous; suggested substitution []" ] ]
752+ expect![ [ r#"Unique"# ] ]
753753 }
754754 }
755755}
@@ -812,8 +812,10 @@ fn env_bound_vars() {
812812 WellFormed ( & ' a ( ) )
813813 }
814814 }
815- } yields {
815+ } yields[ SolverChoice :: slg_default ( ) ] {
816816 expect![ [ "Ambiguous; definite substitution for<?U0> { [?0 := '^0.0] }" ] ]
817+ } yields[ SolverChoice :: recursive_default( ) ] {
818+ expect![ [ r#"Unique; for<?U0> { substitution [?0 := '^0.0] }"# ] ]
817819 }
818820 goal {
819821 exists<' a> {
@@ -841,7 +843,7 @@ fn recursive_hang() {
841843 } yields[ SolverChoice :: slg_default( ) ] {
842844 expect![ [ "Ambiguous; definite substitution for<?U0,?U0> { [?0 := ^0.0, ?1 := '^0.1] }" ] ]
843845 } 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"# ] ]
845847 }
846848 }
847849}
Original file line number Diff line number Diff line change @@ -394,11 +394,11 @@ fn solve_aggregated(
394394 . expect ( "Test requires at least one solver" ) ;
395395 for ( i, other) in tail. iter ( ) . enumerate ( ) {
396396 println ! (
397- "\n comparing solvers:\n \t left : {:?}\n \t right : {:?}\n " ,
397+ "\n comparing solvers:\n \t expected : {:?}\n \t actual : {:?}\n " ,
398398 & choices[ 0 ] ,
399399 & choices[ i + 1 ]
400400 ) ;
401- assert_same ( head , other ) ;
401+ assert_same ( other , head ) ;
402402 }
403403
404404 expected. assert_eq ( head) ;
You can’t perform that action at this time.
0 commit comments