make it recursive
This commit is contained in:
parent
7a63d3f16a
commit
7057188c54
3 changed files with 95 additions and 93 deletions
|
@ -201,10 +201,8 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
|
|||
|
||||
ControlFlow::Continue(())
|
||||
},
|
||||
|| {
|
||||
// On ambiguity.
|
||||
candidates.ambiguous = true;
|
||||
},
|
||||
// On ambiguity.
|
||||
|| candidates.ambiguous = true,
|
||||
);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue