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> {
5252 . drain ( ..)
5353 . map ( |obligation| FulfillmentError {
5454 obligation : obligation. clone ( ) ,
55- code : FulfillmentErrorCode :: CodeSelectionError ( SelectionError :: Unimplemented ) ,
55+ code : FulfillmentErrorCode :: CodeAmbiguity ,
5656 root_obligation : obligation,
5757 } )
5858 . collect ( )
@@ -75,7 +75,9 @@ impl<'tcx> TraitEngine<'tcx> for FulfillmentCtxt<'tcx> {
7575 Err ( NoSolution ) => {
7676 errors. push ( FulfillmentError {
7777 obligation : obligation. clone ( ) ,
78- code : FulfillmentErrorCode :: CodeAmbiguity ,
78+ code : FulfillmentErrorCode :: CodeSelectionError (
79+ SelectionError :: Unimplemented ,
80+ ) ,
7981 root_obligation : obligation,
8082 } ) ;
8183 continue ;
You can’t perform that action at this time.
0 commit comments