File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -489,12 +489,9 @@ fn compute_flags<I: Interner>(kind: &TyKind<I>, interner: &I) -> TypeFlags {
489489 | TyKind :: Closure ( _, substitution)
490490 | TyKind :: Generator ( _, substitution)
491491 | TyKind :: GeneratorWitness ( _, substitution)
492- | TyKind :: FnDef ( _, substitution) => compute_substitution_flags ( substitution, interner) ,
493- TyKind :: Scalar ( _)
494- | TyKind :: Str
495- | TyKind :: Never
496- | TyKind :: Foreign ( _)
497- | TyKind :: OpaqueType ( _, _) => TypeFlags :: empty ( ) ,
492+ | TyKind :: FnDef ( _, substitution)
493+ | TyKind :: OpaqueType ( _, substitution) => compute_substitution_flags ( substitution, interner) ,
494+ TyKind :: Scalar ( _) | TyKind :: Str | TyKind :: Never | TyKind :: Foreign ( _) => TypeFlags :: empty ( ) ,
498495 TyKind :: Error => TypeFlags :: HAS_ERROR ,
499496 TyKind :: Slice ( ty) | TyKind :: Raw ( _, ty) => ty. data ( interner) . flags ,
500497 TyKind :: Ref ( _, lifetime, ty) => {
You can’t perform that action at this time.
0 commit comments