File tree Expand file tree Collapse file tree
compiler/rustc_next_trait_solver/src/solve/assembly Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1294,7 +1294,7 @@ where
12941294 }
12951295 }
12961296 ty:: Infer ( _) => ControlFlow :: Break ( Ok ( Certainty :: AMBIGUOUS ) ) ,
1297- _ if ty. has_type_flags ( TypeFlags :: HAS_PLACEHOLDER | TypeFlags :: HAS_INFER ) => {
1297+ _ if ty. has_type_flags ( TypeFlags :: HAS_PLACEHOLDER | TypeFlags :: HAS_INFER | TypeFlags :: HAS_ALIAS ) => {
12981298 self . recursion_depth += 1 ;
12991299 if self . recursion_depth > self . ecx . cx ( ) . recursion_limit ( ) {
13001300 return ControlFlow :: Break ( Ok ( Certainty :: Maybe {
@@ -1328,7 +1328,7 @@ where
13281328 }
13291329 }
13301330 ty:: ConstKind :: Infer ( _) => ControlFlow :: Break ( Ok ( Certainty :: AMBIGUOUS ) ) ,
1331- _ if ct. has_type_flags ( TypeFlags :: HAS_PLACEHOLDER | TypeFlags :: HAS_INFER ) => {
1331+ _ if ct. has_type_flags ( TypeFlags :: HAS_PLACEHOLDER | TypeFlags :: HAS_INFER | TypeFlags :: HAS_ALIAS ) => {
13321332 ct. super_visit_with ( self )
13331333 }
13341334 _ => ControlFlow :: Continue ( ( ) ) ,
You can’t perform that action at this time.
0 commit comments