@@ -406,12 +406,12 @@ impl<'a, 'tcx> EvalCtxt<'a, 'tcx> {
406406
407407impl < ' tcx > EvalCtxt < ' _ , ' tcx > {
408408 #[ instrument( level = "debug" , skip( self ) ) ]
409- fn set_projection_eq_hack_goal ( & mut self , goal : Goal < ' tcx , ty:: ProjectionPredicate < ' tcx > > ) {
409+ fn set_normalizes_to_hack_goal ( & mut self , goal : Goal < ' tcx , ty:: ProjectionPredicate < ' tcx > > ) {
410410 assert ! (
411- self . nested_goals. projection_eq_hack_goal . is_none( ) ,
411+ self . nested_goals. normalizes_to_hack_goal . is_none( ) ,
412412 "attempted to set the projection eq hack goal when one already exists"
413413 ) ;
414- self . nested_goals . projection_eq_hack_goal = Some ( goal) ;
414+ self . nested_goals . normalizes_to_hack_goal = Some ( goal) ;
415415 }
416416
417417 #[ instrument( level = "debug" , skip( self ) ) ]
@@ -438,7 +438,7 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
438438 |this| {
439439 let mut has_changed = Err ( Certainty :: Yes ) ;
440440
441- if let Some ( goal) = goals. projection_eq_hack_goal . take ( ) {
441+ if let Some ( goal) = goals. normalizes_to_hack_goal . take ( ) {
442442 let ( _, certainty) = match this. evaluate_goal (
443443 IsNormalizesToHack :: Yes ,
444444 goal. with ( this. tcx ( ) , ty:: Binder :: dummy ( goal. predicate ) ) ,
@@ -475,7 +475,7 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
475475 term,
476476 projection_ty : goal. predicate . projection_ty ,
477477 } ;
478- new_goals. projection_eq_hack_goal =
478+ new_goals. normalizes_to_hack_goal =
479479 Some ( goal. with ( this. tcx ( ) , projection_pred) ) ;
480480
481481 has_changed = has_changed. map_err ( |c| c. unify_and ( certainty) ) ;
0 commit comments