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>(
320
320
&& ( term_param_ty. index as usize ) < generics. parent_count
321
321
{
322
322
// 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 ;
324
324
loop {
325
- match * projection_ty . self_ty ( ) . kind ( ) {
325
+ match * projection_term . self_ty ( ) . kind ( ) {
326
326
ty:: Alias ( ty:: Projection , inner_projection_ty) => {
327
- projection_ty = inner_projection_ty. into ( ) ;
327
+ projection_term = inner_projection_ty. into ( ) ;
328
328
} ,
329
329
ty:: Param ( param_ty) => {
330
330
return ( param_ty. index as usize ) >= generics. parent_count ;
You can’t perform that action at this time.
0 commit comments