Rename a bunch of things

This commit is contained in:
Michael Goulet
2024-06-18 19:13:54 -04:00
parent 25c9f2ca06
commit db638ab968
60 changed files with 538 additions and 566 deletions

View File

@@ -1,12 +1,12 @@
use rustc_type_ir::{self as ty, Interner, ProjectionPredicate};
use tracing::instrument;
use crate::infcx::SolverDelegate;
use crate::delegate::SolverDelegate;
use crate::solve::{Certainty, EvalCtxt, Goal, GoalSource, QueryResult};
impl<Infcx, I> EvalCtxt<'_, Infcx>
impl<D, I> EvalCtxt<'_, D>
where
Infcx: SolverDelegate<Interner = I>,
D: SolverDelegate<Interner = I>,
I: Interner,
{
#[instrument(level = "trace", skip(self), ret)]
@@ -14,7 +14,7 @@ where
&mut self,
goal: Goal<I, ProjectionPredicate<I>>,
) -> QueryResult<I> {
let tcx = self.interner();
let tcx = self.cx();
let projection_term = goal.predicate.projection_term.to_term(tcx);
let goal = goal.with(
tcx,