Refactor FulfillmentError
to track less data
Move the information about pointing at the call argument expression in an unmet obligation span from the `FulfillmentError` to a new `ObligationCauseCode`.
This commit is contained in:
parent
284a8a9ce7
commit
8a3f712518
11 changed files with 86 additions and 57 deletions
|
@ -1998,7 +1998,6 @@ impl<'a, 'tcx> TypeChecker<'a, 'tcx> {
|
|||
&obligation,
|
||||
&traits::SelectionError::Unimplemented,
|
||||
false,
|
||||
false,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue