fn collect_print_requests(
    cg: &mut CodegenOptions,
    dopts: &mut DebuggingOptions,
    matches: &Matches,
    error_format: ErrorOutputType
) -> Vec<PrintRequest>