pub fn compile_top_with_syntax_warning_handler<'a>(
ast: Mod,
source_file: SourceFile,
mode: Mode,
opts: CompileOpts,
syntax_warning_handler: Option<&'a mut dyn FnMut(SourceLocation, String) -> Result<(), CodegenError>>,
) -> Result<CodeObject, CodegenError>