rename needs_subst
to has_param
This commit is contained in:
parent
f04b8fe0af
commit
842419712a
18 changed files with 28 additions and 28 deletions
|
@ -414,7 +414,7 @@ fn subst_and_check_impossible_predicates<'tcx>(
|
|||
predicates.push(ty::Binder::dummy(trait_ref).to_predicate(tcx));
|
||||
}
|
||||
|
||||
predicates.retain(|predicate| !predicate.needs_subst());
|
||||
predicates.retain(|predicate| !predicate.has_param());
|
||||
let result = impossible_predicates(tcx, predicates);
|
||||
|
||||
debug!("subst_and_check_impossible_predicates(key={:?}) = {:?}", key, result);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue