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 @@ -489,12 +489,12 @@ 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) ,
492+ | TyKind :: FnDef ( _, substitution)
493+ | TyKind :: OpaqueType ( _, substitution) => compute_substitution_flags ( substitution, interner) ,
493494 TyKind :: Scalar ( _)
494495 | TyKind :: Str
495496 | TyKind :: Never
496- | TyKind :: Foreign ( _)
497- | TyKind :: OpaqueType ( _, _) => TypeFlags :: empty ( ) ,
497+ | TyKind :: Foreign ( _) => TypeFlags :: empty ( ) ,
498498 TyKind :: Error => TypeFlags :: HAS_ERROR ,
499499 TyKind :: Slice ( ty) | TyKind :: Raw ( _, ty) => ty. data ( interner) . flags ,
500500 TyKind :: Ref ( _, lifetime, ty) => {
You can’t perform that action at this time.
0 commit comments