Skip to content

Commit f6bd15b

Browse files
committed
Use Ok(Maybe)
1 parent 02f780f commit f6bd15b

File tree

1 file changed

+1
-3
lines changed
  • compiler/rustc_trait_selection/src/traits

1 file changed

+1
-3
lines changed

compiler/rustc_trait_selection/src/traits/fulfill.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -782,9 +782,7 @@ impl<'a, 'tcx> ObligationProcessor for FulfillProcessor<'a, 'tcx> {
782782
{
783783
return ProcessResult::Changed(Default::default());
784784
} else {
785-
return ProcessResult::Error(FulfillmentErrorCode::Ambiguity {
786-
overflow: None,
787-
});
785+
return ProcessResult::Unchanged;
788786
}
789787
}
790788
},

0 commit comments

Comments
 (0)