pub fn collect( report: &mut Report, ast: &mut AstTopLevel, decls: &mut ItemDecls, ) -> Result<(), ()>