File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
compiler/rustc_trait_selection/src/solve Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ impl<'tcx> TraitEngine<'tcx> for FulfillmentCtxt<'tcx> {
52
52
. drain ( ..)
53
53
. map ( |obligation| FulfillmentError {
54
54
obligation : obligation. clone ( ) ,
55
- code : FulfillmentErrorCode :: CodeSelectionError ( SelectionError :: Unimplemented ) ,
55
+ code : FulfillmentErrorCode :: CodeAmbiguity ,
56
56
root_obligation : obligation,
57
57
} )
58
58
. collect ( )
@@ -75,7 +75,9 @@ impl<'tcx> TraitEngine<'tcx> for FulfillmentCtxt<'tcx> {
75
75
Err ( NoSolution ) => {
76
76
errors. push ( FulfillmentError {
77
77
obligation : obligation. clone ( ) ,
78
- code : FulfillmentErrorCode :: CodeAmbiguity ,
78
+ code : FulfillmentErrorCode :: CodeSelectionError (
79
+ SelectionError :: Unimplemented ,
80
+ ) ,
79
81
root_obligation : obligation,
80
82
} ) ;
81
83
continue ;
You can’t perform that action at this time.
0 commit comments