pub fn compile_type_items( ctx: &mut Compiler, scope: ScopeId, items: impl Iterator<Item = AstItem>, declarations: &ModuleDeclarations, )