Rename tcx to cx

This commit is contained in:
Michael Goulet
2024-06-21 12:39:55 -04:00
parent c290e9de32
commit 275d922dab
13 changed files with 333 additions and 347 deletions

View File

@@ -14,10 +14,10 @@ where
&mut self,
goal: Goal<I, ProjectionPredicate<I>>,
) -> QueryResult<I> {
let tcx = self.cx();
let projection_term = goal.predicate.projection_term.to_term(tcx);
let cx = self.cx();
let projection_term = goal.predicate.projection_term.to_term(cx);
let goal = goal.with(
tcx,
cx,
ty::PredicateKind::AliasRelate(
projection_term,
goal.predicate.term,