Swap Vec<PredicateObligation> to type alias
This commit is contained in:
parent
1ac72b94bc
commit
7ec06b0d1d
33 changed files with 250 additions and 215 deletions
|
@ -114,7 +114,7 @@ impl<'tcx> Debug for FulfillmentError<'tcx> {
|
|||
pub enum FulfillmentErrorCode<'tcx> {
|
||||
/// Inherently impossible to fulfill; this trait is implemented if and only
|
||||
/// if it is already implemented.
|
||||
Cycle(Vec<PredicateObligation<'tcx>>),
|
||||
Cycle(PredicateObligations<'tcx>),
|
||||
Select(SelectionError<'tcx>),
|
||||
Project(MismatchedProjectionTypes<'tcx>),
|
||||
Subtype(ExpectedFound<Ty<'tcx>>, TypeError<'tcx>), // always comes from a SubtypePredicate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue