Fix bug in new stall checking code, it should consider integer variables
too.
This commit is contained in:
parent
20e088c4e2
commit
3db82d1a4e
1 changed files with 1 additions and 1 deletions
|
|
@ -396,7 +396,7 @@ fn process_predicate1<'a,'tcx>(selcx: &mut SelectionContext<'a,'tcx>,
|
|||
.map(|t| selcx.infcx().resolve_type_vars_if_possible(t))
|
||||
.filter(|t| t.has_infer_types())
|
||||
.flat_map(|t| t.walk())
|
||||
.filter(|t| t.is_ty_var())
|
||||
.filter(|t| match t.sty { ty::TyInfer(_) => true, _ => false })
|
||||
.collect();
|
||||
|
||||
debug!("process_predicate: pending obligation {:?} now stalled on {:?}",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue