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