We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aee75f2 commit f53f5b4Copy full SHA for f53f5b4
compiler/rustc_trait_selection/src/solve/fulfill.rs
@@ -52,7 +52,7 @@ impl<'tcx> TraitEngine<'tcx> for FulfillmentCtxt<'tcx> {
52
.drain(..)
53
.map(|obligation| FulfillmentError {
54
obligation: obligation.clone(),
55
- code: FulfillmentErrorCode::CodeSelectionError(SelectionError::Unimplemented),
+ code: FulfillmentErrorCode::CodeAmbiguity,
56
root_obligation: obligation,
57
})
58
.collect()
@@ -75,7 +75,9 @@ impl<'tcx> TraitEngine<'tcx> for FulfillmentCtxt<'tcx> {
75
Err(NoSolution) => {
76
errors.push(FulfillmentError {
77
78
- code: FulfillmentErrorCode::CodeAmbiguity,
+ code: FulfillmentErrorCode::CodeSelectionError(
79
+ SelectionError::Unimplemented,
80
+ ),
81
82
});
83
continue;
0 commit comments