Fix list length
This commit is contained in:
parent
883b93c7b7
commit
e2bba0708a
28 changed files with 225 additions and 1 deletions
|
@ -1813,7 +1813,7 @@ impl<'a, 'tcx> InferCtxtPrivExt<'a, 'tcx> for InferCtxt<'a, 'tcx> {
|
|||
}
|
||||
|
||||
let len = impl_candidates.len();
|
||||
let end = if impl_candidates.len() <= 5 { impl_candidates.len() } else { 4 };
|
||||
let end = if impl_candidates.len() <= 9 { impl_candidates.len() } else { 8 };
|
||||
|
||||
let normalize = |candidate| {
|
||||
self.tcx.infer_ctxt().enter(|ref infcx| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue