make it recursive
This commit is contained in:
parent
7a63d3f16a
commit
7057188c54
3 changed files with 95 additions and 93 deletions
|
@ -1645,11 +1645,9 @@ fn assemble_candidates_from_trait_def<'cx, 'tcx>(
|
|||
|
||||
ControlFlow::Continue(())
|
||||
},
|
||||
|| {
|
||||
// `ProjectionCandidateSet` is borrowed in the above closure,
|
||||
// so just mark ambiguous outside of the closure.
|
||||
ambiguous = true;
|
||||
},
|
||||
// `ProjectionCandidateSet` is borrowed in the above closure,
|
||||
// so just mark ambiguous outside of the closure.
|
||||
|| ambiguous = true,
|
||||
);
|
||||
|
||||
if ambiguous {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue