File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -320,11 +320,11 @@ fn is_mixed_projection_predicate<'tcx>(
320320 && ( term_param_ty. index as usize ) < generics. parent_count
321321 {
322322 // The inner-most self type is a type parameter from the current function.
323- let mut projection_ty = projection_predicate. projection_term ;
323+ let mut projection_term = projection_predicate. projection_term ;
324324 loop {
325- match * projection_ty . self_ty ( ) . kind ( ) {
325+ match * projection_term . self_ty ( ) . kind ( ) {
326326 ty:: Alias ( ty:: Projection , inner_projection_ty) => {
327- projection_ty = inner_projection_ty. into ( ) ;
327+ projection_term = inner_projection_ty. into ( ) ;
328328 } ,
329329 ty:: Param ( param_ty) => {
330330 return ( param_ty. index as usize ) >= generics. parent_count ;
You can’t perform that action at this time.
0 commit comments