Break up long function in trait selection error reporting
- Move blocks of code into their own functions - Replace a few function argument types with their type aliases
This commit is contained in:
parent
409661936f
commit
d0d40d2a40
6 changed files with 659 additions and 430 deletions
|
@ -591,7 +591,7 @@ impl<'tcx> AutoTraitFinder<'tcx> {
|
|||
fn evaluate_nested_obligations(
|
||||
&self,
|
||||
ty: Ty<'_>,
|
||||
nested: impl Iterator<Item = Obligation<'tcx, ty::Predicate<'tcx>>>,
|
||||
nested: impl Iterator<Item = PredicateObligation<'tcx>>,
|
||||
computed_preds: &mut FxIndexSet<ty::Predicate<'tcx>>,
|
||||
fresh_preds: &mut FxHashSet<ty::Predicate<'tcx>>,
|
||||
predicates: &mut VecDeque<ty::PolyTraitPredicate<'tcx>>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue