Remove TypeckResults from InferCtxt
This commit is contained in:
parent
4a68373217
commit
349415d1c6
67 changed files with 240 additions and 280 deletions
|
@ -272,7 +272,7 @@ impl<'tcx> AutoTraitFinder<'tcx> {
|
|||
/// user.
|
||||
fn evaluate_predicates(
|
||||
&self,
|
||||
infcx: &InferCtxt<'_, 'tcx>,
|
||||
infcx: &InferCtxt<'tcx>,
|
||||
trait_did: DefId,
|
||||
ty: Ty<'tcx>,
|
||||
param_env: ty::ParamEnv<'tcx>,
|
||||
|
@ -877,7 +877,7 @@ impl<'tcx> AutoTraitFinder<'tcx> {
|
|||
|
||||
pub fn clean_pred(
|
||||
&self,
|
||||
infcx: &InferCtxt<'_, 'tcx>,
|
||||
infcx: &InferCtxt<'tcx>,
|
||||
p: ty::Predicate<'tcx>,
|
||||
) -> ty::Predicate<'tcx> {
|
||||
infcx.freshen(p)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue